Re: [BUGS] libpgtcl doesn't use UTF encoding of TCL

2001-09-06 Thread Reinhard Max
Hi Bruce, On Wed, 5 Sep 2001, Bruce Momjian wrote: > I have a patch here that handles all the TCL/UTF issues. > Would you let me know if it is OK? I think, it isn't really a clean fix. It only works, if your database's encoding and Tcl's system encoding are identical. If the database uses a dif

Re: [BUGS] libpgtcl doesn't use UTF encoding of TCL

2001-09-05 Thread Bruce Momjian
> On Wed, 18 Jul 2001, Tom Lane wrote: > > > Reinhard Max <[EMAIL PROTECTED]> 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 > > > ver

Re: [BUGS] libpgtcl doesn't use UTF encoding of TCL

2001-07-23 Thread Eugene Fokin
On Sun, Jul 22, 2001 at 08:10:32PM +0900, Tatsuo Ishii wrote: > Hum. Why don't you enable --enable-multibyte and > --enable-unicode-conversion and set client_encoding to UNICODE? That > would do a conversion from/to UTF-8 for Tcl 8.x (x > 9) clients? You're right. Probably, this way correct enoug

Re: [BUGS] libpgtcl doesn't use UTF encoding of TCL

2001-07-22 Thread Tatsuo Ishii
Hum. Why don't you enable --enable-multibyte and --enable-unicode-conversion and set client_encoding to UNICODE? That would do a conversion from/to UTF-8 for Tcl 8.x (x > 9) clients? -- Tatsuo Ishii > Eugene Faukin ([EMAIL PROTECTED]) reports a bug with a severity of 2 > The lower the number the

Re: [BUGS] libpgtcl doesn't use UTF encoding of TCL

2001-07-20 Thread Eugene Fokin
On Wed, Jul 18, 2001 at 02:53:22PM -0400, Tom Lane wrote: > > 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. We really don't want to give up > backwards com

Re: [BUGS] libpgtcl doesn't use UTF encoding of TCL

2001-07-20 Thread Bruce Momjian
> > On Wed, 18 Jul 2001, Tom Lane wrote: > > > > > Reinhard Max <[EMAIL PROTECTED]> 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 o

Re: [BUGS] libpgtcl doesn't use UTF encoding of TCL

2001-07-20 Thread Reinhard Max
On Fri, 20 Jul 2001, Peter Eisentraut wrote: > Reinhard Max writes: > > > OK, I'll pack the new stuff inside #ifdef TCL_UTF8 and define that if > > the Tcl version is 8.1 or greater. > > No, please add a configure check for Tcl_UtfToExternalDString or > some other function representative of this

Re: [BUGS] libpgtcl doesn't use UTF encoding of TCL

2001-07-20 Thread Bruce Momjian
> On Fri, 20 Jul 2001, Peter Eisentraut wrote: > > > Reinhard Max writes: > > > > > OK, I'll pack the new stuff inside #ifdef TCL_UTF8 and define that if > > > the Tcl version is 8.1 or greater. > > > > No, please add a configure check for Tcl_UtfToExternalDString or > > some other function repre

Re: [BUGS] libpgtcl doesn't use UTF encoding of TCL

2001-07-20 Thread Peter Eisentraut
Reinhard Max writes: > OK, I'll pack the new stuff inside #ifdef TCL_UTF8 and define that if > the Tcl version is 8.1 or greater. No, please add a configure check for Tcl_UtfToExternalDString or some other function representative of this interface.. -- Peter Eisentraut [EMAIL PROTECTED] ht

Re: [BUGS] libpgtcl doesn't use UTF encoding of TCL

2001-07-20 Thread Bruce Momjian
> On Wed, 18 Jul 2001, Tom Lane wrote: > > > Reinhard Max <[EMAIL PROTECTED]> 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 > > > ver

Re: [BUGS] libpgtcl doesn't use UTF encoding of TCL

2001-07-19 Thread Reinhard Max
On Wed, 18 Jul 2001, Tom Lane wrote: > Reinhard Max <[EMAIL PROTECTED]> 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, th

Re: [BUGS] libpgtcl doesn't use UTF encoding of TCL

2001-07-19 Thread Reinhard Max
On Wed, 18 Jul 2001, Tom Lane wrote: > Reinhard Max <[EMAIL PROTECTED]> 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, th

Re: [BUGS] libpgtcl doesn't use UTF encoding of TCL

2001-07-19 Thread Bruce Momjian
> On Wed, Jul 18, 2001 at 02:53:22PM -0400, Tom Lane wrote: > > > > 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. We really don't want to give up > >

Re: [BUGS] libpgtcl doesn't use UTF encoding of TCL

2001-07-18 Thread Tom Lane
Reinhard Max <[EMAIL PROTECTED]> 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.

Re: [BUGS] libpgtcl doesn't use UTF encoding of TCL

2001-07-18 Thread Reinhard Max
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. > When was Tcl_UtfToExternalDString added to T

Re: [BUGS] libpgtcl doesn't use UTF encoding of TCL

2001-07-18 Thread Bruce Momjian
> 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. Can't we probe the TCL version in

Re: [BUGS] libpgtcl doesn't use UTF encoding of TCL

2001-07-18 Thread Bruce Momjian
Do you have any idea how this will work with earlier TCL versions? When was Tcl_UtfToExternalDString added to TCL? > Eugene Faukin ([EMAIL PROTECTED]) reports a bug with a severity of 2 > The lower the number the more severe it is. > > Short Description > libpgtcl doesn't use UTF encoding of T

[BUGS] libpgtcl doesn't use UTF encoding of TCL

2001-07-18 Thread pgsql-bugs
Eugene Faukin ([EMAIL PROTECTED]) reports a bug with a severity of 2 The lower the number the more severe it is. Short Description libpgtcl doesn't use UTF encoding of TCL Long Description Modern versions of the TCL (8.2 at least) use UTF encoding to internal storage of the text. libpgtcl uses T