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,RCVD_IN_DNSWL_NONE,SARE_SUB_ENC_UTF8,TW_BJ,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: References: Date: Tue, 29 Jun 2010 21:15:51 +0100 Message-ID: Subject: Re: LANG=ru_RU.cp1251, but binutils use UTF-8. From: Andy Koppe To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes 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 2010/6/29 Csaba Raduly: > On Tue, Jun 29, 2010 at 10:32 AM, Oleksandr Gavenko wrote: >> =C2=A0$ objdump --help | head -n 2 | hexl >> 00000000: d098 d181 d0bf d0be d0bb d18c d0b7 d0be =C2=A0................ > (snipped) > > These bytes sure look like UTF-8. According to > http://software.hixie.ch/utilities/cgi/unicode-decoder/utf8-decoder > > U+0418 CYRILLIC CAPITAL LETTER I character (И) > U+0441 CYRILLIC SMALL LETTER ES character (с) > U+043F CYRILLIC SMALL LETTER PE character (п) > U+043E CYRILLIC SMALL LETTER O character (о) > U+043B CYRILLIC SMALL LETTER EL character (л) > U+044C CYRILLIC SMALL LETTER SOFT SIGN character (ь) > U+0437 CYRILLIC SMALL LETTER ZE character (з) > (snipped) > > As raw characters: > > =D0=98=D1=81=D0=BF=D0=BE=D0=BB=D1=8C=D0=B7=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8= =D0=B5: objdump <=D0=BE=D0=BF=D1=86=D0=B8=D0=B8> <=D1=84=D0=B0=D0=B9=D0=BB(= =D1=8B)> > =C2=A0=D0=9E=D1=82=D0=BE=D0=B1=D1=80=D0=B0=D0=B6=D0=B0=D0=B5=D1=82 =D0=B8= =D0=BD=D1=84=D0=BE=D1=80=D0=BC=D0=B0=D1=86=D0=B8=D1=8E =D0=B8=D0=B7 =D0=BE= =D0=B1=D1=8A=D0=B5=D0=BA=D1=82=D0=B0 <=D1=84=D0=B0=D0=B9=D0=BB(=D1=8B)>. > > But I can't get that output out of > CYGWIN_NT-6.0 1.7.5(0.225/5/3) 2010-04-12 19:07 i686 Cygwin > and > GNU objdump (GNU Binutils) 2.20.51.20100410 Same here. No German either. French and Spanish work, but not quite right: it needlessly decomposes accented characters into ASCII characters: $ LANG=3Des_ES.UTF-8 objdump --help Modo de empleo: objdump Muestra la informaci'on de objeto. That should be "informaci=C3=B3n" rather than "informaci'on". Translations are working properly for example for 'ls' and 'gcc'. Andy -- 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