This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: LANG=ru_RU.cp1251, but binutils use UTF-8.


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]