[Prev][Next][Index]
locale support for ISO-8859-1
Hi,
I have trouble getting the expected locale support in my 1.2.13 Linux
box.
I try to set the environmental variable LC_CTYPE to ISO-8859-1
and then run the check program supplied with 5.2.18 sources (under
the locale sub dir) and it says that both setlocale(LC_ALL,"") and
setlocale(LC_CTYPE,"") fail (and indeed I can verify that e.g.
isalpha( (unsigned char) 224 ) is false while it has to be true under
ISO-8859-1).
I have noticed that under an older non ELF kernel (1.2.8) with
libc.so 4.6.27 the same check program shows ok, that is, the locale
has been loaded correctly.
I assume that in the newer libc, the non standard (C/POSIX) locale
tables are externally loaded rather then taken hard-coded, but I cannot
find where this external data should reside (the are under
/usr/lib/locale/ on SunOS),and more over, how it can be produced.
Can someone shed some light from his/her experience ?
Thanks Zachi.
---------------------------------------------
Isaac Miller,
E-mail: either - zachi@netvision.net.il
or - zachi@bimacs.cs.biu.ac.il
Phone : 972-3-6730140 Fax : 972-3-6730492
---------------------------------------------