Re: collation & UTF-8

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tomi NA <hefest(at)gmail(dot)com>
Cc: Martijn van Oosterhout <kleptog(at)svana(dot)org>, pgsql-general(at)postgresql(dot)org
Subject: Re: collation & UTF-8
Date: 2006-02-24 17:57:51
Message-ID: 4535.1140803871@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tomi NA <hefest(at)gmail(dot)com> writes:
> You were right about this:
> LC_ALL=3Dhr_HR.UTF-8 sort < test.txt
> (seemingly) collates the same way that pgsql does. Accented letters at the
> end of the alphabet. I've tried hr_HR.UTF8 as well, without results.

If you're not sure what locales are available on your system, run
"locale -a". I don't think "sort" will complain about an unknown locale
setting, it'll probably just fall back to "C" locale.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2006-02-24 18:10:48 Re: Oracle purchases Sleepycat - is this the "other shoe"
Previous Message Tom Lane 2006-02-24 17:52:18 Re: ltree + gist index performance degrades significantly over a night