Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-general by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group