delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-ID: | <402A5871.7070508@contact.bg> |
Date: | Wed, 11 Feb 2004 18:29:37 +0200 |
From: | Alexander Shopov <ash AT contact DOT bg> |
User-Agent: | Mozilla Thunderbird 0.5 (Windows/20040207) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Another NON trivial Cyrillic question |
References: | <402A0DA2 DOT 6030508 AT contact DOT bg> <402A3459 DOT 3000405 AT contact DOT bg> <Pine DOT GSO DOT 4 DOT 56 DOT 0402110924260 DOT 9477 AT slinky DOT cs DOT nyu DOT edu> <ubro5is8s DOT fsf AT intel DOT com> <Pine DOT GSO DOT 4 DOT 56 DOT 0402111036430 DOT 11287 AT slinky DOT cs DOT nyu DOT edu> |
In-Reply-To: | <Pine.GSO.4.56.0402111036430.11287@slinky.cs.nyu.edu> |
X-IsSubscribed: | yes |
Note-from-DJ: | This may be spam |
X-MIME-Autoconverted: | from base64 to 8bit by delorie.com id i1BGO02q031028 |
Well, this is not entirely true. While programs do lookup the LANG envvar, they do not recode properly. For example when I do: export LANG=bg_BG.CP1251 or export LANG=bg_BG.UTF-8 wget uses the bulgarian po-file translation, but it is not recoded properly and is just a Latin-1 dump of an UTF-8 file (the wget.mo is compiled from an properly encoded UTF-8 po file) In both cases: I get: $ touch кирил $ rm -v кирил removing `\352\350\360\350\353' I have installed libgettextpo0 - 0.12.1-3 libiconv2 - 1.9.1-3 libintl - 0.10.38.-3 libintl1 - 0.10.40-1 libintl2 - 0.12.1-3 locale database is part of libc. Where do I look for it in Cygwin? I have the sources for the Bulgarian locale. I could try to compile it. While under GNU/Linux I prefer UTF-8 locales, I have to use a CP1251 one under windows. Best regards: al_shopov >>What does it mean to "have your locale settings straight" in cygwin ? >>Is it possible to make cygwin respect Windows locale settings (it >>seems that they don't affect cygwin out of the box) ? Or may be >>one should install Unix-like locale database and use variables like >>LANG to choose locale ? > > > The latter. > Igor
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |