From: David B <postgresql@thegatelys.com>
To: pgsql-sql@postgresql.org
Subject: Re: Unicode problem inserting records - Invalid UNICODE character
Date: Thu, 11 Nov 2004 11:29:22 -0800
Message-ID: <GOEGKICPFOPNLIEIHGFJCEDNDDAA.postgresql@thegatelys.com> (raw)
In-Reply-To: <41925F29.4020203@archonet.com>
show client_encoding gives:
UNICODE
databases reads:
DATABASE OWNER ENCODING
mydb david UNICODE
testdb david SQL_ASCII
table columns are character varying(255)
Tx,
David
-----Original Message-----
From: pgsql-sql-owner@postgresql.org
[mailto:pgsql-sql-owner@postgresql.org]On Behalf Of Richard Huxton
Sent: Wednesday, November 10, 2004 10:34 AM
To: David B
Cc: pgsql-sql@postgresql.org
Subject: Re: [SQL] Unicode problem inserting records - Invalid UNICODE
character
David B wrote:
> My first time using unicode. Based on reading other messages I think I've
> got it all setup correctly but still have prob.
> Running: psql 7.3.6-RH
[snip]
> For both I get the same results when I try to:
>
> INSERT INTO airport_code ( airport_name, airport_code ) values ( 'Zurich
> (Zürich) - Kloten', 'ZRH' ) ;
>
>
> I get:
>
> psql:airport_codes.sql:1728: ERROR: Invalid UNICODE character sequence
> found (0xfc7269)
>
> Obviously I'd like to keep the proper German spelling.
What is your client encoding? (look into "show client_encoding",
"\encoding" in the "Localization" chapter of the manuals)
--
Richard Huxton
Archonet Ltd
---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings
---
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.771 / Virus Database: 518 - Release Date: 9/28/2004
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: postgresql@thegatelys.com
Subject: Re: Unicode problem inserting records - Invalid UNICODE character
In-Reply-To: <GOEGKICPFOPNLIEIHGFJCEDNDDAA.postgresql@thegatelys.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