Locale + encoding combinations
| От | Dave Page |
|---|---|
| Тема | Locale + encoding combinations |
| Дата | |
| Msg-id | 470BE56A.2030509@postgresql.org обсуждение исходный текст |
| Ответы |
Re: Locale + encoding combinations
Re: Locale + encoding combinations |
| Список | 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 по дате отправления: