Re: resend: Chinese sort order problem

Поиск
Список
Период
Сортировка
От Tatsuo Ishii
Тема Re: resend: Chinese sort order problem
Дата
Msg-id 20011029212619K.t-ishii@sra.co.jp
обсуждение исходный текст
Ответ на resend: Chinese sort order problem  (Ren Weili <renweili@csvw.com>)
Список pgsql-general
> hi all,
>     I am shade to disturb  people here again, but to my Question , i
> have not effective answer.
>     it has been suffering me for 3 weeks.
>
>     the problem is : How the Postgresql treet the Chinese Text Field
> sort(order by)?
>     It seems always false sort order. but the MySQL does this very well.
>
>     in my machine "select getdatabaseencoding();" returns "EUC_CN"
>     and "\encoding" returns "EUC_CN" too.
>     I have tested for "createdb -E EUC_CN / SQL_ASII / LATIN1" ,
>     the option "EUC_CN" / "SQL_ASII"  results same .
>
>     I have also tried recompling the source with "configure
> --enable-locale --enable-multibyte=EUC_CN", it does no help.

You did not mention what is "false" and what is "correct" sort order.
So I'm not sure I understand you problem, but I experience similar
ones with Japanese on some Linux platforms. In my case the source of
the problem was broken locale database coming with Linux. After
re-building PostgreSQL WITHOUT --enable-locale, all problems were
gone.

Hope this helps.
--
Tatsuo Ishii

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

Предыдущее
От: schemy@freesurf.fr
Дата:
Сообщение: Re: Broken pipes 2
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: Broken pipes 2