delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-0.2 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SARE_SUB_ENC_UTF8,TW_BJ,TW_XD,TW_YG,T_TO_NO_BRKTS_FREEMAIL |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
In-Reply-To: | <AANLkTilvvxiKUfTJKuC3Q0ZqXF23dWsDrlpLj8Y2yKef@mail.gmail.com> |
References: | <hvn70o$n5q$1 AT dough DOT gmane DOT org> <AANLkTimrIRAaUp-xP8ZUe9ew7Wob3EBiUL-hkv-VjY2a AT mail DOT gmail DOT com> <i0cb2o$m64$1 AT dough DOT gmane DOT org> <AANLkTil80itd3rHEYl5eAJ6Bfra-Mw-aNunC04canB1- AT mail DOT gmail DOT com> <AANLkTilvvxiKUfTJKuC3Q0ZqXF23dWsDrlpLj8Y2yKef AT mail DOT gmail DOT com> |
Date: | Wed, 30 Jun 2010 10:22:17 +0200 |
Message-ID: | <AANLkTikZDIQoS-dgElkQ6jkDpCDeSb3kub6wD192F4Oo@mail.gmail.com> |
Subject: | Re: LANG=ru_RU.cp1251, but binutils use UTF-8. |
From: | Csaba Raduly <rcsaba AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
On Tue, Jun 29, 2010 at 10:15 PM, Andy Koppe wrote: > > Same here. No German either. French and Spanish work, but not quite > right: it needlessly decomposes accented characters into ASCII > characters: > > $ LANG=es_ES.UTF-8 objdump --help > Modo de empleo: objdump <opcion(es)> <fichero(s)> > Muestra la informaci'on de <fichero(s)> objeto. That's odd because the accented character is there in the .mo (in CP1252 though) $ hexdump -C /usr/share/locale/es/LC_MESSAGES/binutils.mo | grep -A2 1d330 0001d330 46 0a 00 4d 75 65 73 74 72 61 20 6c 61 20 69 6e |F..Muestra la in| 0001d340 66 6f 72 6d 61 63 69 f3 6e 20 64 65 20 3c 66 69 |formaci.n de <fi| 0001d350 63 68 65 72 6f 28 73 29 3e 20 6f 62 6a 65 74 6f |chero(s)> objeto| $ LANG=fr_FR objdump --help | head -2 Usage: objdump <options> <fichiers> Afficher les informations depuis les <fichiers> objet. When I looked at the firts line, I thought "French isn't working either" :) (That should be Utilisation: ...) $ cygcheck -l binutils | grep binutils.mo /usr/share/locale/da/LC_MESSAGES/binutils.mo /usr/share/locale/es/LC_MESSAGES/binutils.mo /usr/share/locale/fi/LC_MESSAGES/binutils.mo /usr/share/locale/fr/LC_MESSAGES/binutils.mo /usr/share/locale/id/LC_MESSAGES/binutils.mo /usr/share/locale/ja/LC_MESSAGES/binutils.mo /usr/share/locale/ro/LC_MESSAGES/binutils.mo /usr/share/locale/ru/LC_MESSAGES/binutils.mo /usr/share/locale/rw/LC_MESSAGES/binutils.mo /usr/share/locale/sk/LC_MESSAGES/binutils.mo /usr/share/locale/sv/LC_MESSAGES/binutils.mo /usr/share/locale/tr/LC_MESSAGES/binutils.mo /usr/share/locale/uk/LC_MESSAGES/binutils.mo /usr/share/locale/vi/LC_MESSAGES/binutils.mo /usr/share/locale/zh_CN/LC_MESSAGES/binutils.mo /usr/share/locale/zh_TW/LC_MESSAGES/binutils.mo /usr/share/locale/de/LC_MESSAGES/binutils.mo is conspicuously absent. The Russian messages in /usr/share/locale/ru/LC_MESSAGES/binutils.mo appear to be encoded in UTF-8; I don't know what iconv is supposed to do when LANG=ru_RU.cp1251 but outputting UTF-8 to a terminal expecting CP1251 doesn't sound like the right thing to do. -- Life is complex, with real and imaginary parts. "Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds "People disagree with me. I just ignore them." -- Linus Torvalds -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |