| От | Tom Lane |
|---|---|
| Тема | Re: problems when comparing text with special chars |
| Дата | |
| Msg-id | 9545.1125876796@sss.pgh.pa.us обсуждение |
| Ответ на | Re: problems when comparing text with special chars (<me@alternize.com>) |
| Список | pgsql-novice |
<me@alternize.com> writes:
> the installer (yes, its the v8.0.3 windows version) had me choose the
> following db encoding, which also matches the server's win2k3 environement.
> this seems right to me:
> LC_COLLATE: German_Switzerland.1252
> LC_CTYPE: German_Switzerland.1252
OK ...
> the DB was created with the characterset UNICODE to have full support for
> foreign characters (i.e. japanese and stuff).
Wrong answer --- the name of the locale implies that it wants Win1252
encoding. In general you don't get to choose locale and encoding
independently.
Our Unicode support is pretty broken under Windows anyway in 8.0
(8.1 should be better). You want to stick with that locale and use
the corresponding encoding rather than trying to switch to a Unicode
locale.
regards, tom lane
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера