Locale + encoding combinations

Поиск
Список
Период
Сортировка
От Dave Page
Тема Locale + encoding combinations
Дата
Msg-id 470BE56A.2030509@postgresql.org
обсуждение исходный текст
Ответы Re: Locale + encoding combinations  (Peter Eisentraut <peter_e@gmx.net>)
Re: Locale + encoding combinations  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
I'm working on some code for pgInstaller that will check the locale and
encoding selected by the user are a valid combination.

The changes recently added to initdb (which highlighted the UTF-8 issue
on Windows that Tom posted about) appear to only allow the default
encoding for the locale to be selected. For example, for me that would be:

"English_United Kingdom.1252"

However, setlocale() will also accept other valid combinations on
Windows, which initdb will not, for example:

"English_United Kingdom.28591" (Latin1)

Is there any reason not to accept other combinations that setlocale() is
happy with?

Regards, Dave


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Skytools committed without hackers discussion/review
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Skytools committed without hackers discussion/review