On Mon, Feb 05, 2001 at 11:56:41AM +0000, Markus Kuhn wrote:
> The best solution is to assume that the file names are in the
> locale-specific multi-byte encoding. Simply use mbrtowc and wcrtomb to
> convert between Unicode and the locale-dependent multi-byte encoding
> used in file names and text files if the ISO C 99 symbol
> __STDC_ISO_10646__ is defined (which guarantees that wchar_t = UCS). On
> Linux, this has been the case since glibc 2.2.

Could there be a LC_FSCHARSET? I tend to run around in Latin-1 locales
with UTF-8 filenames, and while I expect a lot of stuff to ignore it,
anything that's translating filenames may as well get it right.

-- 
David Starner - [EMAIL PROTECTED]
Pointless website: http://dvdeug.dhis.org
"I don't care if Bill personally has my name and reads my email and 
laughs at me. In fact, I'd be rather honored." - Joseph_Greg
-
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/lists/

Reply via email to