From: Tatsuo Ishii <t-ishii@sra.co.jp>
To: gav@nlr.ru
Cc: pgsql-general@postgresql.org
Cc: pgsql-sql@postgresql.org
Subject: Re: sorting in UNICODE table
Date: Fri, 25 Aug 2000 10:07:27 +0900
Message-ID: <20000825100727P.t-ishii@sra.co.jp> (raw)
In-Reply-To: <19739.000824@nlr.ru>
References: <19739.000824@nlr.ru>
> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: t-ishii@sra.co.jp, gav@nlr.ru, pgsql-general@postgresql.org
Subject: Re: sorting in UNICODE table
In-Reply-To: <20000825100727P.t-ishii@sra.co.jp>
References: <19739.000824@nlr.ru> <20000825100727P.t-ishii@sra.co.jp>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox