From: Tom Lane <tgl@sss.pgh.pa.us>
To: Oliver Elphick <olly@lfix.co.uk>
Cc: Jaume Teixi <teixi@6tems.com>
Cc: pgsql-hackers@postgresql.org, pgsql-admin@postgresql.org, "Richard T. Robino" <rickspam@wavedivision.com>
Cc: Stefan Huber <schweinsaug@crosswinds.net>
Subject: Re: COPY doesn't works when containing ' ' or ' ' characters on db
Date: Tue, 27 Feb 2001 12:19:01 -0500
Message-ID: <3309.983294341@sss.pgh.pa.us> (raw)
In-Reply-To: <200102271538.f1RFcFw09744@linda.lfix.co.uk>
References: <200102271538.f1RFcFw09744@linda.lfix.co.uk>
"Oliver Elphick" <olly@lfix.co.uk> writes:
> I think this happens when the front-end encoding is SQL_ASCII and the
> database is using UNICODE. Then, there are misunderstandings between
> front-end and back-end, so that a single character with the eighth bit
> set may be sent by the front-end and interpreted by the back-end as the
> first half of a UNICODE two-byte character.
I wondered about that, but his examples had one or more characters
between the eighth-bit-set character and the '|', so this doesn't seem
to explain the problem.
Still, if it went away after moving to ASCII encoding, it clearly is
a multibyte issue of some sort.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, olly@lfix.co.uk, teixi@6tems.com, rickspam@wavedivision.com, schweinsaug@crosswinds.net
Subject: Re: COPY doesn't works when containing ' ' or ' ' characters on db
In-Reply-To: <3309.983294341@sss.pgh.pa.us>
References: <200102271538.f1RFcFw09744@linda.lfix.co.uk> <3309.983294341@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox