Re: Windows UNICODE driver vs ANSI Driver

From: Hiroshi Inoue <inoue(at)tpf(dot)co(dot)jp>
To: Barry Bell <Barry_Bell(at)harte-hanks(dot)com>
Cc: Mike Landl <mlandl(at)4glsol(dot)com>, "pgsql-odbc(at)postgresql(dot)org" <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: Windows UNICODE driver vs ANSI Driver
Date: 2013-07-19 13:46:40
Message-ID: 51E94340.8000509@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

(2013/07/19 1:14), Barry Bell wrote:
> Hi:
> What is the difference between the windows ODBC PostgresSQL ANSI driver and the Unicode Driver?
>
> When using the ANSI driver with a date type bind variable, we get a UTF-8 conversion error for some dates
> (Dates like 01/01/2010, 01/04/2010) but not for others."ERROR: character with byte sequence 0xc2 0x9d in encoding "UTF8" has no equivalent in encoding WIN1252"
>

Could you send me the Mylog output?

regards,
Hiroshi Inoue

> We do not get this error with UNICODE driver.
>
> Any ideas what is happening?
> Any issues with using the UNICODE driver instead of ANSI?

Browse pgsql-odbc by date

  From Date Subject
Next Message Hiroshi Inoue 2013-07-19 15:13:13 Re: [ODBC] getting rid of SnapshotNow
Previous Message Andres Freund 2013-07-19 13:35:49 Re: [HACKERS] getting rid of SnapshotNow