Re: Inserting é in psql - inv

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Inserting é in psql - inv
Дата
Msg-id 4417E187.1070501@archonet.com
обсуждение исходный текст
Ответ на Inserting é in psql - invalid byte sequence for encoding "UNICODE": 0xe9  (CSN <cool_screen_name90001@yahoo.com>)
Список pgsql-general
CSN wrote:
> 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

Something isn't UTF-8, possibly your terminal settings?

If you have a text-editor that lets you set character-encoding then you
can try feeding the query into psql from a file. If that works then it's
your terminal.

I always have endless trouble with this sort of stuff myself, so you're
not alone.
--
   Richard Huxton
   Archonet Ltd


В списке pgsql-general по дате отправления:

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: out of memory using Postgres with Spring/Hibernate/Java
Следующее
От: "chris smith"
Дата:
Сообщение: full text indexing