X-Recipient: archive-cygwin AT delorie DOT 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 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 AT cygwin DOT com Subject: Re: postgresql package and error message translations References: <91325fec0805140122t80d5d7fh8f4824b1d91b799c AT mail DOT gmail DOT 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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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/