Re: sorting in UNICODE table - Mailing list pgsql-general

From Tatsuo Ishii
Subject Re: sorting in UNICODE table
Date
Msg-id 20000825100727P.t-ishii@sra.co.jp
Whole thread Raw
In response to sorting in UNICODE table  (Alex Guryanow <gav@nlr.ru>)
List pgsql-general
> I'm use postgresql-7.0.2. It's compiled with unicode support
> (./configure --enable-multibyte=UNICODE ...)
> I have a table which contains both latin and non-latin letters. All they are in UTF-8 encoding. When
> I try to sort the rows
>
> ( SELECT * FROM my_table ORDER BY sort_field )
>
> I receive strange error: the rows that begin with ascii symbols are ordered while all other - are not!

I guess this is because UTF-8 strings are sorted in the order of the
physical representation. Can you show me sample data and its desired
order?

--
Tatsuo Ishii


pgsql-general by date:

Previous
From: Peter Haight
Date:
Subject: Re: Large object insert performance.
Next
From: "Jackson Ching"
Date:
Subject: Getting the result of a query using COUNT(*)