Re: Locale + encoding combinations - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Locale + encoding combinations
Date
Msg-id 200710100055.31624.peter_e@gmx.net
Whole thread Raw
In response to Re: Locale + encoding combinations  (Dave Page <dpage@postgresql.org>)
Responses Re: Locale + encoding combinations
List pgsql-hackers
Dave Page wrote:
> setlocale(LC_CTYPE, "English_United Kingdom.65001")
>
> will return null (and not change anything) because it doesn't like
> the combination of the locale and that encoding (UTF-8).

The reason that that call fails is probably that the operating system 
does not provide such a locale.  But that's not what we are interested 
in.  We are interested in compatibility between *existing* operating 
system locales and *PostgreSQL* encoding names.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: Skytools committed without hackers discussion/review
Next
From: David Fetter
Date:
Subject: Re: Skytools committed without hackers discussion/review