Re: Connectivity error: Could not convert from the current locale to wide characters

From: "Inoue, Hiroshi" <h-inoue(at)dream(dot)email(dot)ne(dot)jp>
To: Andrus <kobruleht2(at)hot(dot)ee>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: Connectivity error: Could not convert from the current locale to wide characters
Date: 2017-08-25 10:07:39
Message-ID: 5fa3da7a-4012-35ec-d9e0-572dc3a75f6e@dream.email.ne.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Michael Paquier 2017-08-25 13:02:42 Re: Re: Connection failure with invalid connection option "gsslib" for 09.06.0410
Previous Message Andrus 2017-08-25 08:39:58 Re: Connectivity error: Could not convert from the current locale to wide characters