[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ISO9660 & UTF-8
Jungshik Shin <jshin@xxxxxxxxxxx>:
> However, I had to tell him that there's another hurdle to overcome.
> My patch hard-coded 'UTF-16LE' as the codeset name for 'UTF-16 Little
> Endian', but it's not very portable. There should be a way to detect
> the codeset name to use with iconv(3) on a given platform for UTF-16LE.
> Is there any autoconf macro written for this?
> An alternative is to just make it user-configurable at run-time.
> This is easier for programmers, but not so user-friendly...
Because of the way some people use libiconv with LD_PRELOAD, it makes
sense to decide at run time rather than build time. However, you
probably don't need to bother the typical user with configuration
stuff; you can try various possible names and run tests at run time.
Edmund
--
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/linux-utf8/