Re: invalid byte sequence ?

From: Andreas <maps(dot)on(at)gmx(dot)net>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: invalid byte sequence ?
Date: 2006-08-23 21:53:22
Message-ID: 44ECCE52.8060500@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Bruce Momjian schrieb:
> Andreas wrote:
>
>> I've got pg 8.1.4 from the binary Windows installer.
>> Windows 2000 / German
>> Now I entered "\d" into psql on the text-console and got this:
>>
>> db_test=# \d
>> ERROR: invalid byte sequence for encoding "UTF8": 0xfc6d6572220a
>>
>> What's up ?
>> db_test was created UTF8 encoded
>>
>
> What does your client_encoding show? It should be UTF8 too.
>

it is.

db_test=# \d
ERROR: invalid byte sequence for encoding "UTF8": 0xfc6d6572220a
db_test=# show client_encoding;
client_encoding
-----------------
UTF8
(1 Zeile)

psql complains about the code page, too, now. (850 vs. 1252)
I'm sure I checked it the other day with a cmd that used 1252 and still
got the error for the \d command.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Silvela, Jaime (Exchange) 2006-08-23 21:58:24 Re: CASCADING could not open relation with OID
Previous Message Tom Lane 2006-08-23 21:20:20 Re: CASCADING could not open relation with OID

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-08-23 22:45:03 Re: invalid byte sequence ?
Previous Message Bruce Momjian 2006-08-23 21:05:06 Re: invalid byte sequence ?