From: | "Magnus Hagander" <mha(at)sollentuna(dot)net> |
---|---|
To: | "jian chen" <chenjian1227(at)gmail(dot)com>, <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: sorting Chinese varchar field |
Date: | 2005-03-28 16:50:59 |
Message-ID: | 6BCB9D8A16AC4241919521715F4D8BCE6C716F@algol.sollentuna.se |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
>Hi,
>
>I installed postgres 8.0 for windows on my win xp (Simplified Chinese
>version). The encoding is unicode. When I set pgsql client encoding to
>gb18030, I could insert Chinese text from the command line to
>postgres.
>
>However, I could not get the sort order of Chinese varchar field to
>work properly.
>
>What I tried are as follows:
>
>1) installed postgres for windows and used the "C" locale.
>2) installed postgres for windows and used the "Chinese, PRC" locale.
>
>Again, in both cases, the backend encoding is unicode.
Sorting is not currently supported in the UNICODE/UTF-8 encoding on
Win32. Sorry. You need to pick a specific non-unicode encoding/locale
combination. (Or run the server on a platform that supports it, if that
is an option)
//Magnus
From | Date | Subject | |
---|---|---|---|
Next Message | Janning Vygen | 2005-03-28 16:58:44 | Re: pg_xlog disk full error, i need help |
Previous Message | Janning Vygen | 2005-03-28 16:40:08 | Re: pg_xlog disk full error, i need help |