Received: from mail.postgresql.org (webmail.postgresql.org [216.126.85.28]) by mail.postgresql.org (8.11.1/8.11.1) with SMTP id f1SEfDx35618 for ; Wed, 28 Feb 2001 09:41:13 -0500 (EST) (envelope-from pgsql-admin-owner@postgresql.org) Received: from sraigw.sra.co.jp (sraigw.sra.co.jp [202.32.10.2]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f1S11px34166; Tue, 27 Feb 2001 20:01:51 -0500 (EST) (envelope-from t-ishii@sra.co.jp) Received: from sranhk.sra.co.jp (sranhk [133.137.36.134]) by sraigw.sra.co.jp (8.8.7/3.7W-sraigw) with ESMTP id KAA29347; Wed, 28 Feb 2001 10:01:46 +0900 (JST) Received: from localhost (IDENT:t-ishii@srapc1474 [133.137.13.54]) by sranhk.sra.co.jp (8.9.3/3.7W-srambox) with ESMTP id KAA19417; Wed, 28 Feb 2001 10:01:45 +0900 To: tgl@sss.pgh.pa.us Cc: olly@lfix.co.uk, teixi@6tems.com, pgsql-hackers@postgresql.org, pgsql-admin@postgresql.org, rickspam@wavedivision.com, schweinsaug@crosswinds.net Subject: Re: [HACKERS] 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> X-Mailer: Mew version 1.94.2 on Emacs 20.7 / Mule 4.1 =?iso-2022-jp?B?KBskQjAqGyhCKQ==?= Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010228100134Q.t-ishii@sra.co.jp> Date: Wed, 28 Feb 2001 10:01:34 +0900 From: Tatsuo Ishii X-Dispatcher: imput version 20000228(IM140) Lines: 38 X-Archive-Number: 200102/228 X-Sequence-Number: 835 > "Oliver Elphick" 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. No.