Re: UNICODE and SQL

From: Ian Barwick <barwick(at)gmx(dot)net>
To: "Marco Roda" <MarcoRoda(at)amdosoft(dot)com>, <pgsql-sql(at)postgresql(dot)org>
Subject: Re: UNICODE and SQL
Date: 2003-05-05 14:37:54
Message-ID: 200305051637.19406.IanBarwick<>
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Monday 05 May 2003 15:34, Marco Roda wrote:
> Hallo,
>
> I need to use SQL to insert some language specific characters into tables.
> In particular I am using German and Croatian specific characters. The
> database is created with UNICODE encoding.
> For instance, when trying to run from psql:
>
> INSERT INTO test VALUES (1,'Urlaubslite für nächstes Jahr');
>
> I get the following error:
>
> ERROR: Invalid UNICODE character sequence found (0xfc7220)
>
> because of 'ü' and 'ä'.

What is your psql client encoding set to? Possibly you need
to set it to LATIN1.

Ian Barwick
barwick(at)gmx(dot)net

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Ryan 2003-05-05 16:16:59 Re: Replication for a large database
Previous Message Marco Roda 2003-05-05 13:34:21 UNICODE and SQL