Re: [ODBC] Connectivity error: Could not convert from the currentlocale to wide characters - Mailing list pgsql-odbc

From Inoue, Hiroshi
Subject Re: [ODBC] Connectivity error: Could not convert from the currentlocale to wide characters
Date
Msg-id 5fa3da7a-4012-35ec-d9e0-572dc3a75f6e@dream.email.ne.jp
Whole thread Raw
In response to Re: [ODBC] Connectivity error: Could not convert from the current locale to wide characters  ("Andrus" <kobruleht2@hot.ee>)
List pgsql-odbc
Hi Andrus,

On 2017/08/25 17:39, Andrus wrote:
> Hi,
>
>> Oops sorry, it is Mylog option. in page 1 which should be turned on.
>> Probably ODBC trace is useless in this case.
>
> It contains error mentioned message
>
> Could not convert from the current locale to wide characters
>
> Maybe come character in data causes this and it may be visible in this
> log.
>
>> ISTM You sent me Mylog with global Mylog option is turned on.
>> Mylog output with per datasource Mylog option turned on is necessary.
>
> Mylog was turned on in datasource page also.
>
> I tried again. Turned mylog on only in datasource page, disabled UAC
> in windows 10 and run application with administrative rights.
> After that searched for mylog*.log files in C: drive.
> Those files are not created.
>
> My application does not use named datasource. It uses direct
> connection string
>
> DRIVER={PostgreSQL
> Unicode};DATABASE=somedb;SERVER=localhost;PORT=5432;UID=postgres;Protocol=-0;B9=0;C7=0

Please add Debug=1 so as to take Mylog.

regards,
Hiroshi Inoue

>
>
> Maybe log is not created due to this.
>
> Andrus.



pgsql-odbc by date:

Previous
From: "Andrus"
Date:
Subject: Re: [ODBC] Connectivity error: Could not convert from the current locale to wide characters
Next
From: Michael Paquier
Date:
Subject: Re: [ODBC] Re: Connection failure with invalid connection option"gsslib" for 09.06.0410