This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: LANG=ru_RU.cp1251, but binutils use UTF-8.
- From: Andy Koppe <andy dot koppe at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 22 Jun 2010 07:00:25 +0100
- Subject: Re: LANG=ru_RU.cp1251, but binutils use UTF-8.
- References: <hvn70o$n5q$1@dough.gmane.org>
On 21 June 2010 09:14, Oleksandr Gavenko wrote:
> I globally set LANG=ru_RU.cp1251 for Russian Windows.
> All command work as expected (from coreutils, svn, etc.).
>
> But objdump, nm, objcopy use UTF-8 instead recode to cp1251:
>
> Â$ Âobjdump --help | head -n 2
> ÐÐÐÐÑÐÑÐÂÐÐÐÂÐÑÐÐÐÂÐÐÐÑÐÂ: objdump <ÐÑÐÑÐâÐÑÐÑ> <ÐâÐÂÐâÐÂ(Ðâ)>
> ÂÐÑÐâÐÑÐÂÐÐÐÂÐÂÐÂÐÂÐâ ÐÑÐÐÐâÐÑÐÐÐÑÐÂÐâÐÑÐÐ ÐÑРÐÑÐÂÐÐÐÂÐÑÐâÐÂ
> <ÐâÐÂÐâÐÂ(Ðâ)>.
> Â$ LANG=C objdump --help | head -n 2
> Usage: objdump <option(s)> <file(s)>
> ÂDisplay information from object <file(s)>.
I can't get objdump to emit anything but an English help message, no
matter the LANG setting. Are you sure you're using Cygwin's objdump,
i.e. what do 'which objdump' and 'objdump --version' say?
Andy