From: Andrus <kobruleht2@hot.ee>
To: Inoue, Hiroshi <h-inoue@dream.email.ne.jp>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Connectivity error: Could not convert from the current locale to wide characters
Date: Fri, 25 Aug 2017 11:39:58 +0300
Message-ID: <1A01C06069F84F4DAB3826E74E14D180@dell2> (raw)
In-Reply-To: <54d7ff7b-f612-0cc3-f6df-fdd6b5da631c@dream.email.ne.jp>
References: <857D04AAE4F74BD09F269E58756D9F60@dell2>
<e26ed0ab-d837-0572-2079-f2132657ab24@dream.email.ne.jp>
<1116F6D4C87D4EA2958049237ECB45B4@dell2>
<f098b855-f5e3-b35e-162f-49d865d1bff4@dream.email.ne.jp>
<B0AC90092A5B4A3895F18099C5AAAF05@dell2>
<54d7ff7b-f612-0cc3-f6df-fdd6b5da631c@dream.email.ne.jp>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>
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
Maybe log is not created due to this.
Andrus.
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: kobruleht2@hot.ee, h-inoue@dream.email.ne.jp
Subject: Re: Connectivity error: Could not convert from the current locale to wide characters
In-Reply-To: <1A01C06069F84F4DAB3826E74E14D180@dell2>
References: <857D04AAE4F74BD09F269E58756D9F60@dell2> <e26ed0ab-d837-0572-2079-f2132657ab24@dream.email.ne.jp> <1116F6D4C87D4EA2958049237ECB45B4@dell2> <f098b855-f5e3-b35e-162f-49d865d1bff4@dream.email.ne.jp> <B0AC90092A5B4A3895F18099C5AAAF05@dell2> <54d7ff7b-f612-0cc3-f6df-fdd6b5da631c@dream.email.ne.jp> <1A01C06069F84F4DAB3826E74E14D180@dell2>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox