Re: Determining client_encoding from client locale

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Determining client_encoding from client locale
Дата
Msg-id 200906171636.59993.peter_e@gmx.net
обсуждение исходный текст
Ответ на Determining client_encoding from client locale  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Ответы Re: Determining client_encoding from client locale  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Determining client_encoding from client locale  (Itagaki Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
Список pgsql-hackers
On Wednesday 17 June 2009 14:29:26 Heikki Linnakangas wrote:
> We currently require that you set client_encoding correctly, or you get
> garbage in psql and any other tool using libpq. How about setting
> client_encoding automatically to match the client's locale? We have
> pg_get_encoding_from_locale() function that we can use to extract the
> encoding from LC_CTYPE. We could call that in libpq.

I have been requesting that for years, but the Japanese users/developers 
typically objected to that.  I think it's time to relaunch the campain, 
though.



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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: Determining client_encoding from client locale
Следующее
От: Peter Eisentraut
Дата:
Сообщение: plpgsql error message