Re: libpgtcl doesn't use UTF encoding of TCL
Reinhard Max <max@suse.de>
From: Reinhard Max <max@suse.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Bruce Momjian <pgman@candle.pha.pa.us>, <elf@solvo.ru>, <pgsql-bugs@postgresql.org>
Date: 2001-07-19T14:05:35Z
Lists: pgsql-bugs, pgsql-hackers
Attachments
- pgtcl-utf8.patch (text/plain) patch
On Wed, 18 Jul 2001, Tom Lane wrote: > Reinhard Max <max@suse.de> writes: > > On Wed, 18 Jul 2001, Bruce Momjian wrote: > >> Do you have any idea how this will work with earlier TCL versions? > > > It won't. If pgtcl is supposed to still be able to compile with older > > versions of Tcl, the changes have to be made a compile time option. > > Please do that and resubmit the patch. Here it is, but I consider it still incomplete and I have not done exhaustive testing. Some more occurrences of PQexec and PQgetvalue need to be wrapped up with UTF8 conversion, but I'll not have the time to do it for the next 1-2 weeks. cu Reinhard