Re: How may I set LC_COLLATE and LC_CTYPE to Russian_Russia.1251 on Fedora Core Linux?

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Петров Р(dot)В(dot) <roman(at)fpm(dot)ami(dot)nstu(dot)ru>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: How may I set LC_COLLATE and LC_CTYPE to Russian_Russia.1251 on Fedora Core Linux?
Date: 2005-10-03 08:43:45
Message-ID: 200510031043.45903.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Петров Р.В. wrote:
> But when I install Postgresql server on Fedora Core 4 Linux, I can't
> set LC_COLLATE and LC_CTYPE to Russian_Russia.1251. Maximum, that I
> may set, is ru_RU.KOI8-R.
> What I need to set regional setting to Russian_Russia.1251 ?

You can only use locales that the host operating system supports. On
Windows you can use Windows-style locales, on Linux you will need to
use Linux/POSIX-style locales. So ru_RU.KOI8-R is probably a good
choice, although other people more familiar with the matter may give
you better advice on a good choice of particular character encoding
combinations in heterogenous environments.

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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message lst_hoe01 2005-10-03 10:35:30 Re: backup software for postgresql
Previous Message Jeff Frost 2005-10-03 06:38:34 Re: pg_hba.conf setup