Inserting in psql - invalid byte sequence for encoding "UNICODE": 0xe9

From: CSN <cool_screen_name90001(at)yahoo(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Inserting in psql - invalid byte sequence for encoding "UNICODE": 0xe9
Date: 2006-03-15 09:33:56
Message-ID: 20060315093356.77365.qmail@web52913.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I created a new database with encoding UTF8, connected
using psql, and ensured the client encoding is also
UTF8 (Unicode). But when I try to insert characters
like 'é', I get this error:

ERROR: invalid byte sequence for encoding "UNICODE":
0xe9

Isn't this possible with psql? Hopefully it's not
necessary to insert with values like '\xC3\xA1'
instead (which I tried, but the values got inserted as
is and weren't converted).

CSN

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Marcos 2006-03-15 09:36:10 Re: Turn OFF Stats of Postgresql
Previous Message Richard Huxton 2006-03-15 09:29:40 Re: pgsql and streams