X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Message-ID: <482B5260.40801@x-ray.at>
Date: Wed, 14 May 2008 22:58:08 +0200
From: Reini Urban <rurban@x-ray.at>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.8.1.13) Gecko/20080313 SeaMonkey/1.1.9
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: postgresql package and error message translations
References: <91325fec0805140122t80d5d7fh8f4824b1d91b799c@mail.gmail.com>
In-Reply-To: <91325fec0805140122t80d5d7fh8f4824b1d91b799c@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Dmitry Teslenko schrieb:
> Hello!
> I use postgresql tools such as psql, pg_dump, etc.
> If I invoke them as "/bin/psql" they product error (and probably other) messages
> in english; but if I invoke them as "psql" or "/usr/bin/psql" they
> produce messages
> in my native language (russian) in koi8-r encoding and windows' default encoding
> for text in my native language is cp1251 (or windows-1251). That means I get
> garbage in terminal.
> I've chosen unix file format when installing cygwin and problem
> described can be
> observed with both "current" and "experimental" versions of cygwin packages.
> I have no interest in error messages in my native language so is there way
> to turn them off once and for all?

That's an expensive feature you are annoyed at :)
export LC_MESSAGES=C
should do it theoretically.

However for me it didn't work.
You can delete or rename your locale catalog as last ressort.
   /usr/share/locale/ru/LC_MESSAGES/psql.mo
-- 
Reini Urban
http://phpwiki.org/  http://murbreak.at/

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

