| From: | Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp> |
|---|---|
| To: | stuart(at)stuartbishop(dot)net |
| Cc: | harry(at)mantheakis(dot)freeserve(dot)co(dot)uk, pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Japanese words not distinguished |
| Date: | 2005-07-14 05:07:02 |
| Message-ID: | 20050714.140702.48531999.t-ishii@sra.co.jp |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Gregory Youngblood | 2005-07-14 05:53:58 | Re: To Postgres or not |
| Previous Message | Alvaro Herrera | 2005-07-14 04:57:57 | Re: To Postgres or not |