Re: [INTERFACES] [BUGS] pgtcl large object read/write corrupts binary data

2003-10-31 Thread Brett Schwarz
--- Tom Lane <[EMAIL PROTECTED]> wrote: > ljb <[EMAIL PROTECTED]> writes: > > [Using PostgreSQL-7.3.4 and -7.4beta5, Tcl-8.4.x.] > > Binary data written to a Large Object with > libpgtcl's pg_lo_write is > > corrupted. Tcl is mangling the data - something > to do with UTF-8 > > conversion. Examp

Re: [BUGS] pgtcl large object read/write corrupts binary data

2003-10-30 Thread Tom Lane
ljb <[EMAIL PROTECTED]> writes: > [Using PostgreSQL-7.3.4 and -7.4beta5, Tcl-8.4.x.] > Binary data written to a Large Object with libpgtcl's pg_lo_write is > corrupted. Tcl is mangling the data - something to do with UTF-8 > conversion. Example: 0x80 becomes 0xc2 0x80, and 0xff becomes 0xc3 0xbf.

Re: [BUGS] pgtcl large object read/write corrupts binary data

2003-10-29 Thread Tom Lane
ljb <[EMAIL PROTECTED]> writes: > [Using PostgreSQL-7.3.4 and -7.4beta5, Tcl-8.4.x.] > Binary data written to a Large Object with libpgtcl's pg_lo_write is > corrupted. Tcl is mangling the data - something to do with UTF-8 > conversion. Example: 0x80 becomes 0xc2 0x80, and 0xff becomes 0xc3 0xbf.

[BUGS] pgtcl large object read/write corrupts binary data

2003-10-26 Thread ljb
[Using PostgreSQL-7.3.4 and -7.4beta5, Tcl-8.4.x.] Binary data written to a Large Object with libpgtcl's pg_lo_write is corrupted. Tcl is mangling the data - something to do with UTF-8 conversion. Example: 0x80 becomes 0xc2 0x80, and 0xff becomes 0xc3 0xbf. The problem with pg_lo_read is more s