Re: equal operator fails on two identical strings if initdb uses the traditional chinese locale

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: equal operator fails on two identical strings if initdb uses the traditional chinese locale
Дата
Msg-id 200411241106.22385.peter_e@gmx.net
обсуждение исходный текст
Ответ на equal operator fails on two identical strings if initdb uses the traditional chinese locale  (Kent Tong <kent@cpttm.org.mo>)
Ответы Re: equal operator fails on two identical strings if initdb  (Kent Tong <kent@cpttm.org.mo>)
Список pgsql-bugs
Kent Tong wrote:
> I'm running PostgreSQL v8 beta4 on Win2K. The default language
> selected in Win2K is Big5.

Big5 is an encoding, not a language.

> I am using the Windows installer to install it. Everything is
> left as default except that the locale for initdb is set to
> "traditional-chinese".
>
> Here is a test (run in pgadmin III):
> 1. createdb db1 -E Unicode

Probably your locale does not support Unicode.  You need to pick an
encoding that matches your locale or vice versa.

> BTW, the locale for traditional chinese in postgresql.conf is
> set to "traditional-chinese" literally. Shouldn't it be
> zh_TW?

That depends on what locale names the Windows operating system
understands.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

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

Предыдущее
От: Kent Tong
Дата:
Сообщение: equal operator fails on two identical strings if initdb uses the traditional chinese locale
Следующее
От: Kent Tong
Дата:
Сообщение: Re: equal operator fails on two identical strings if initdb