Re: Locale + encoding combinations

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Dave Page <dpage(at)postgresql(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Locale + encoding combinations
Date: 2007-10-09 22:55:31
Message-ID: 200710100055.31624.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Fetter 2007-10-09 23:08:08 Re: Skytools committed without hackers discussion/review
Previous Message Andrew Dunstan 2007-10-09 22:35:28 Re: Skytools committed without hackers discussion/review