Re: Japanese words not distinguished

Поиск
Список
Период
Сортировка
От Tatsuo Ishii
Тема Re: Japanese words not distinguished
Дата
Msg-id 20050714.140702.48531999.t-ishii@sra.co.jp
обсуждение исходный текст
Ответ на Re: Japanese words not distinguished  (Stuart Bishop <stuart@stuartbishop.net>)
Ответы Re: Japanese words not distinguished  (Harry Mantheakis <harry@mantheakis.freeserve.co.uk>)
Список pgsql-general
> Harry Mantheakis wrote:
> >>Correct. The lesson is, never use locale support for Asian languages
> >>and multibyte encodings including UTF-8.
> >
> >
> > Thank you for your reply - much appreciated.
> >
> > I'm now concerned if and how this will affect ORDER BY query results (and
> > other functions) with respect to Latin-1 names and words.
> >
> > I think I'll have to suck it and see, and then post my results - but that
> > won't be until after this next week-end.
>
> C locale and en_* locales give different ordering (at least under Linux).
> The en_* ordering is case insensitive, and the C locale ordering is case
> sensitive because it is simply comparing the ASCII codes.

You could use lower/upper to get case insensitive ordering with C locale.
--
Tatsuo Ishii

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: To Postgres or not
Следующее
От: Roman Neuhauser
Дата:
Сообщение: Re: To Postgres or not