Re: invalid byte sequence ?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: invalid byte sequence ?
Дата
Msg-id 6998.1156439869@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: invalid byte sequence ?  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: invalid byte sequence ?
Список pgsql-general
Peter Eisentraut <peter_e@gmx.net> writes:
> Tom Lane wrote:
>> A possible solution therefore is to have psql or libpq drive the
>> client_encoding off the client's locale environment instead of
>> letting it default to equal the server_encoding.

> I have been proposing that for years, but just about now the Japanese
> would speak up and protest ...  I say, rush this in before anyone
> notices.

I guess the key point might be "what do we do if the client locale
is C?"  Perhaps if it's C, we continue to use the server encoding
as we have in the past.  This would be a reasonable fallback in
other cases where we fail to deduce an encoding from the locale, too.

            regards, tom lane

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

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: Large database design advice
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: Large database design advice