Re: UTF-8 Problem ?

From: Volkan YAZICI <yazicivo(at)ttnet(dot)net(dot)tr>
To: Milen Kulev <makulev(at)gmx(dot)net>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: UTF-8 Problem ?
Date: 2006-06-15 11:08:15
Message-ID: 20060615110815.GB2469@alamut.tdm.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Jun 15 01:01, Milen Kulev wrote:
> I want to insert some german specific characters (umlaut characters)
> into a table, but I am getting the following
> Error message:
> postgres=# EXECUTE stmt (1, 1 , 1 , 'Grün') ;
> ERROR: invalid UTF-8 byte sequence detected near byte 0xfc
> ...
> postgres=# l\l
> List of databases
> Name | Owner | Encoding
> ------------+-------+-----------
> db1 | user1 | SQL_ASCII
> postgres | pg | UTF8
> template0 | pg | UTF8
> template1 | pg | UTF8

Did you set your client_encoding properly too? (Also, assuming that
your terminal supports the related client encoding.)

Regards.

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Aarni Ruuhimäki 2006-06-15 11:08:35 Re: UTF-8 Problem ?
Previous Message Andrew Sullivan 2006-06-15 11:07:30 Re: UTF-8 Problem ?