[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

setlocale() and gettext() (Re: CVS dpkg flaws)



Hi,

At Mon, 31 Dec 2001 20:24:03 +0900,
YAEGASHI Takeshi wrote:

> CVS dpkg is doing setlocale(LC_CTYPE, "C"); here and there, but it
> seems to cause that dpkg and dselect's outputs for Japanese characters
> turn into "?"(question mark) under Japanese locale (LANG=ja_JP.eucJP).

setlocale(LC_CTYPE, "C") breaks gettext() encoding conversion features.
Wichert, why did you add this?

main/main.c, for instance:
| revision 1.44
| date: 2001/07/16 13:21:27;  author: wakkerma;  state: Exp;  lines: +1 -0
| Force LC_CTYPE to C

Thanks,
Fumitoshi UKAI



Reply to: