Re: libpgtcl doesn't use UTF encoding of TCL
Bruce Momjian <pgman@candle.pha.pa.us>
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Reinhard Max <max@suse.de>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, elf@solvo.ru, pgsql-bugs@postgresql.org
Date: 2001-09-05T16:52:37Z
Lists: pgsql-bugs, pgsql-hackers
Attachments
- (unnamed) (text/plain)
> 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 I have a patch here that handles all the TCL/UTF issues. Would you let me know if it is OK? -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026