X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id F0E8CD9E18 for ; Mon, 3 Oct 2005 05:43:48 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 36562-10 for ; Mon, 3 Oct 2005 08:43:45 +0000 (GMT) Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by svr1.postgresql.org (Postfix) with SMTP id E194FD9E06 for ; Mon, 3 Oct 2005 05:43:44 -0300 (ADT) Received: (qmail invoked by alias); 03 Oct 2005 08:43:46 -0000 Received: from dslb-082-083-234-030.pools.arcor-ip.net (EHLO colt.pezone.net) [82.83.234.30] by mail.gmx.net (mp011) with SMTP; 03 Oct 2005 10:43:46 +0200 X-Authenticated: #495269 From: Peter Eisentraut To: =?windows-1251?b?z+Xy8O7iINAuwi4=?= Subject: Re: How may I set LC_COLLATE and LC_CTYPE to Russian_Russia.1251 on Fedora Core Linux? Date: Mon, 3 Oct 2005 10:43:45 +0200 User-Agent: KMail/1.8.1 References: <1161514171.20051002111202@fpm.ami.nstu.ru> In-Reply-To: <1161514171.20051002111202@fpm.ami.nstu.ru> Cc: pgsql-admin@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200510031043.45903.peter_e@gmx.net> X-Y-GMX-Trusted: 0 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.016 required=5 tests=[AWL=0.016] X-Spam-Level: X-Archive-Number: 200510/26 X-Sequence-Number: 19098 Петров Р.В. 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/