Re: [ODBC] Multibyte ODBC

From: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
To: 'Hiroshi Inoue' <Inoue(at)tpf(dot)co(dot)jp>
Cc: "'jm(dot)poure(at)freesurf(dot)fr'" <jm(dot)poure(at)freesurf(dot)fr>, pgadmin-hackers(at)postgresql(dot)org, pgsql-odbc(at)postgresql(dot)org
Subject: Re: [ODBC] Multibyte ODBC
Date: 2002-03-03 21:03:16
Message-ID: FED2B709E3270E4B903EB0175A49BCB1047658@dogbert.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers pgsql-odbc

> -----Original Message-----
> From: Hiroshi Inoue [mailto:Inoue(at)tpf(dot)co(dot)jp]
> Sent: 01 March 2002 06:08
> To: Dave Page
> Cc: 'jm(dot)poure(at)freesurf(dot)fr'; pgadmin-hackers(at)postgresql(dot)org;
> pgsql-odbc(at)postgresql(dot)org
> Subject: Re: [pgadmin-hackers] [ODBC] Multibyte ODBC
>
>
> Dave Page wrote:
> >
> > The psqlODBC driver doesn't export *any* W functions in it's .def.
> >
> > So, could this be the problem? Access XP wants Unicode, but
> the driver
> > is only providing it with UTF-8 encoded data (ie, multibyte data
> > encoded into ASCII)?
>
> OK I put a trial driver on http://w2422.nsk.ne.jp/~inoue/
> (psqlodbc30W.zip). Note that it's another driver and you have
> to register the driver newly. The name of the dll is
> psqlodbc30.dll. Create new DSNs for the driver and test it.
> Also note that you have to set the client_encoding to UTF-8
> using the Connect Settings option.

:-) That does the trick, thanks!! I can view and update Japanese & English
text and it works perfectly (well, it looks the same before & after :-) )
with no client encoding, with client encoding = UNICODE and with client
encoding = UTF-8.

Now to figure out how to get some VB controls to work... :-(

Regards, Dave.

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Tim Finch, FosterFinch Ltd 2002-03-03 21:43:46 Re: Graphical ER Editor / Graphical Query
Previous Message Dave Page 2002-03-03 20:11:42 Re: Multibyte ODBC

Browse pgsql-odbc by date

  From Date Subject
Next Message Raymond O'Donnell 2002-03-03 22:21:12 Re: Current ODBC driver fails on Win2K
Previous Message Dave Page 2002-03-03 20:11:42 Re: Multibyte ODBC