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: References: Date: Wed, 30 Jun 2010 10:22:17 +0200 Message-ID: Subject: Re: LANG=ru_RU.cp1251, but binutils use UTF-8. From: Csaba Raduly To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 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 > Muestra la informaci'on de 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 objeto| $ LANG=fr_FR objdump --help | head -2 Usage: objdump Afficher les informations depuis les 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