From: | Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp> |
---|---|
To: | Andy Hallam <ahm(at)exel(dot)co(dot)uk> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: ODBC SQLBindParameter and UNICODE strings |
Date: | 2001-10-19 03:14:09 |
Message-ID: | 3BCF9A80.F6DEF77C@tpf.co.jp |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Andy Hallam wrote:
>
> Apologies if you think this mail is a little long-winded but I want to be as
> clear as possible on this.
>
> PostgreSQL - 7.1.3 (installed on Linux 2.4.2-2)
> PSQLODBC.DLL - 07.01.0007
> Visual C++ - 6.0
>
> I have a C++ app running on WINDOWS2000 and I am trying to use
> SQLBindParamater with a unicode (wchar_t) variable.
>
> I installed postgreSQL using the following arguments:
>
> ./configure --enable-multibyte=UNICODE --enable-unicode-conversion --enable-
> odbc
>
[snip]
>
> As you can see I can succesfully use an ASCII character string for an INPUT
> parameter when binding but not a UNICODE character string.
> Surely PostgreSQL supports binding of UNICODE character strings ?
Unfortunately no. Psqlodbc driver doesn't support UNICODE(UCS-2)
binding currently. --enable-multibyte=UNICODE means the sever side
support of UTF-8(not UCS-2) encoding.
regards,
Hiroshi Inoue
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Lockhart | 2001-10-19 03:45:03 | Re: date/time improvements for 7.2 |
Previous Message | Tom Lane | 2001-10-19 03:13:17 | Re: date/time improvements for 7.2 |