X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id E68EF3A3B30 for ; Wed, 24 Nov 2004 10:20:24 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 01901-10 for ; Wed, 24 Nov 2004 10:20:13 +0000 (GMT) Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by svr1.postgresql.org (Postfix) with SMTP id 127763A1EC8 for ; Wed, 24 Nov 2004 10:19:59 +0000 (GMT) Received: (qmail 11339 invoked by uid 65534); 24 Nov 2004 10:19:57 -0000 Received: from dsl-213-023-255-170.arcor-ip.net (EHLO colt.pezone.net) (213.23.255.170) by mail.gmx.net (mp008) with SMTP; 24 Nov 2004 11:19:57 +0100 X-Authenticated: #495269 From: Peter Eisentraut To: Hunter Hillegas Subject: Re: Copying into Unicode - Correcting Errors Date: Wed, 24 Nov 2004 11:19:44 +0100 User-Agent: KMail/1.6.2 Cc: PostgreSQL References: In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200411241119.44894.peter_e@gmx.net> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200411/1186 X-Sequence-Number: 69266 Hunter Hillegas wrote: > I need to import a file into a Unicode database. > > I am getting an error: > > ERROR: Unicode characters greater than or equal to 0x10000 are not > supported > CONTEXT: COPY mailing_list_entry, line 30928, column > first_last_name: "Ver?nica" If your file really does have Unicode characters greater than or equal to 0x10000, then I don't have a good answer. But more often, this error means that your file is not in Unicode in the first place. If so, set the client encoding to the real encoding of your file, e.g. export PGCLIENTENCODING=LATIN1 -- Peter Eisentraut http://developer.postgresql.org/~petere/