From: Peter Eisentraut <peter_e@gmx.net>
To: Chang Chao <charleschung.cn@gmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: How strings are sorted by LC_COLLATE specifically?
Date: Tue, 30 Nov 2010 21:31:02 +0200
Message-ID: <1291145462.13957.10.camel@vanquo.pezone.net> (raw)
In-Reply-To: <AANLkTi=Qw=et8yquHLfLT_YhrMa036dw5HOoLMhtPVBb@mail.gmail.com>
References: <AANLkTi=Qw=et8yquHLfLT_YhrMa036dw5HOoLMhtPVBb@mail.gmail.com>
On tor, 2010-11-25 at 14:42 +0900, Chang Chao wrote:
> How strings are sorted when LC_COLLATE = ja_JP.UTF-8.
> I tried to read the documention on that,but there are just a few
> words,
> like LC_COLLATE determines string sort order,
> Is there a specific reference about this?
> So I can implement an equivalent string sort function in JAVA.
> because some of the sort logic is here.
The actual string comparison is done by the strcoll() function in the
operating system's C library.
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: peter_e@gmx.net, charleschung.cn@gmail.com
Subject: Re: How strings are sorted by LC_COLLATE specifically?
In-Reply-To: <1291145462.13957.10.camel@vanquo.pezone.net>
* 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