Skip site navigation (1) Skip section navigation (2)

Unicode problem inserting records - Invalid UNICODE character sequence found (0xfc7269)

From: "David B" <postgresql(at)thegatelys(dot)com>
To: <pgsql-sql(at)postgresql(dot)org>
Subject: Unicode problem inserting records - Invalid UNICODE character sequence found (0xfc7269)
Date: 2004-11-10 17:19:42
Message-ID: GOEGKICPFOPNLIEIHGFJMEDCDDAA.postgresql@thegatelys.com (view raw or flat)
Thread:
Lists: pgsql-sql
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


$ psql -l
        List of databases
   Name    |  Owner   | Encoding
-----------+----------+-----------
 devdb     | devuser  | UNICODE
 template0 | postgres | SQL_ASCII
 template1 | postgres | SQL_ASCII


I've tried two different table structures:

CREATE TABLE airport_code  (
airport_name       character varying(70),
airport_code       character varying(10),
) ;

and the same but with "text" instead of character varying.

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 am I missing?
Gotta figure its me...cause PG is so damm good otherwise.

Tx,
D
---
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


Responses

pgsql-sql by date

Next:From: Tom LaneDate: 2004-11-10 17:28:17
Subject: Re: A transaction in transaction? Possible?
Previous:From: Richard HuxtonDate: 2004-11-10 17:19:16
Subject: Re: Error In connection ??

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group