This is the mail archive of the
mailing list for the binutils project.
binutils + i18n
- To: GNU C Library <libc-alpha at sourceware dot cygnus dot com>,binutils at sourceware dot cygnus dot com
- Subject: binutils + i18n
- From: "H . J . Lu" <hjl at lucon dot org>
- Date: Fri, 7 Sep 2001 13:08:00 -0700
I got this question. I am not familiar with locale. Should I add
setlocale (LC_MESSAGES, "");
Most programs in binutils only setlocale (LC_MESSAGES, ""); - as most
languages contain non-ASCII character, messages in these languages won't
be shown correctly, but have lots of embedded question marks.
To fix this, either add setlocale(LC_CTYPE,"") as well or change to
setlocale(LC_ALL) - the reason I'm not doing it is than I'm not familiar
enough with binutils to be sure this doesn't affect the produced binaries
in a negative way.