Re: UTF8 on Debian

Поиск
Список
Период
Сортировка
От Gregory Stark
Тема Re: UTF8 on Debian
Дата
Msg-id 87lka328jv.fsf@oxford.xeocode.com
обсуждение исходный текст
Ответ на Re: UTF8 on Debian  (Gregory Stark <stark@enterprisedb.com>)
Список pgsql-hackers
"Gregory Stark" <stark@enterprisedb.com> writes:

> Hm, now things work correctly within the server if I play with text data
> generated with convert_from(). But I can't seem to send utf-8 text directly in
> psql any more:

Ah, figured it out, nothing to do with the server. I didn't have the locale
set to a UTF8 locale before starting up psql. I'm a bit puzzled how the locale
psql is started up in works into this though. It seems to confuse psql's lexer
at the least.

But it goes to all this trouble to track client_encoding, shouldn't it be
using that? Or at least warning you if the encoding it's run under doesn't
match it? 


--  Gregory Stark EnterpriseDB          http://www.enterprisedb.com


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

Предыдущее
От: Gregory Stark
Дата:
Сообщение: Re: UTF8 on Debian
Следующее
От: "Brendan Jurd"
Дата:
Сообщение: FOUND with EXECUTE