pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: mbch67@yahoo.com
To: pgsql-jdbc@postgresql.org
Subject: Re: 8.0.0beta4: "copy" and "client_encoding"
Date: 3 Nov 2004 23:08:43 -0800
Message-ID: <fe065ce.0411032308.5b7a24b3@posting.google.com> (raw)
References: <fe065ce.0411030803.4616e8c4@posting.google.com>
	<41893BC8.6000201@opencloud.com>

Thanks Kris and Oliver for your explanations.

Why I want to set the client_encoding to latin1? That's a fair
question. Unfortunately I removed the statement following the COPY
command to keep the posting short:

   SET CLIENT_ENCODING TO 'LATIN1';
   COPY temp_test FROM '/home/postgres/temp_test.dat';

I want to load a latin1-encoded file using the COPY command. Not
setting the encoding leads to the following error message:

   22021
   ERROR: Unicode characters greater than or equal to 0x10000 are
   not supported 

Executing the same COPY statement with psql works fine.

Cheers,
Adrian



view thread (17+ messages)  latest in thread

Message-ID: <fe065ce.0411032308.5b7a24b3@posting.google.com>
Permalink:  ../fe065ce.0411032308.5b7a24b3@posting.google.com/
Also on:    postgresql.org/message-id/fe065ce.0411032308.5b7a24b3@posting.google.com

 · 

reply

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-jdbc@postgresql.org
  Cc: mbch67@yahoo.com
  Subject: Re: 8.0.0beta4: "copy" and "client_encoding"
  In-Reply-To: <fe065ce.0411032308.5b7a24b3@posting.google.com>
  References: <fe065ce.0411030803.4616e8c4@posting.google.com> <41893BC8.6000201@opencloud.com> <fe065ce.0411032308.5b7a24b3@posting.google.com>

* 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