Re: Table name with umlauts

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Thomas Kellerer <spam_eater(at)gmx(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Table name with umlauts
Date: 2010-11-22 18:25:58
Message-ID: 741.1290450358@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thomas Kellerer <spam_eater(at)gmx(dot)net> writes:
> I'm curious why the following is not working:

> postgres=# show client_encoding;
> client_encoding
> -----------------
> UTF8
> (1 row)

> postgres=# create table umlaut_test_ (id integer);
> ERROR: invalid byte sequence for encoding "UTF8": 0xf6202869

It looks to me like your console is not in fact producing UTF8;
it's representing as 0xf6, which I think is right for Latin1.
Select the proper client_encoding.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Thomas Kellerer 2010-11-22 19:01:04 Re: Table name with umlauts
Previous Message Thomas Kellerer 2010-11-22 18:17:42 Table name with umlauts