[crosspostings removed] On Wed Dec 26 19:29:48 2001 +0000 Markus Kuhn wrote:
>Tomohiro KUBOTA wrote on 2001-12-24 10:30 UTC: >> It is true that softwares should use nl_langinfo(CODESET) as far as >> possible than looking at the environment variables. However, there >> are platforms which don't support nl_langinfo() such as FreeBSD. > >Yes, we have heard that repeated many times now. You make far too much >fuzz about trivialities! > >Simply ship your software with a little nl_langinfo() emulation that >fixes that problem until the FreeBSD people get they act together and >finally implement it. It can't take that much longer any more. > >Hacking an acceptable nl_langinfo(CODESET) emulator shouldn't take much >longer then 12 minutes > >... 11.487 minutes later ... > >You'll now find one tested and ready for use on > > http://www.cl.cam.ac.uk/~mgk25/ucs/langinfo.c > http://www.cl.cam.ac.uk/~mgk25/ucs/langinfo.h > It may work for FreeBSD where nl_langinfo appeared together with nl_langinfo(CODESET) but I doubt it will stick well with NetBSD where nl_langinfo() was without CODESET AFAIK. BTW it lacks koi8- tests. -- Linux-UTF8: i18n of Linux on all levels Archive: http://mail.nl.linux.org/linux-utf8/
