Re: Locale, encoding, sort order confusion

From: John Gunther <postgresql(at)bucksvsbytes(dot)com>
To: Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Locale, encoding, sort order confusion
Date: 2006-08-20 23:49:25
Message-ID: 44E8F505.806@bucksvsbytes.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>Pretty much any locale (say, en_US for you) with a matching character
>set should work. Unless you go out of your way, this should be the
>default setting.

>> I've tried a half dozen time-consuming configs without
>> success.

>Like what?

For example, with all LC_* parameters set to "en_US.UTF8", I get the following incorrect "order:by":

Béarn
Bécancour
Beaupré

Bécancour should be last.

Incidentally, in psql via a putty.exe session, the only character set translation I can find that displays the accented characters is CP437. Does this seem right?

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Herrera 2006-08-21 00:10:58 Re: Locale, encoding, sort order confusion
Previous Message Q Beukes 2006-08-20 20:39:28 Re: apostrophes and psql variables