[Mono-devel-list] filename character conversions (util/strenc.c)

Bernie Solomon bernard at ugsolutions.com
Mon Nov 3 20:58:31 EST 2003


I have a couple of questions about strenc.c as it isn't currently working
for me e.g. GetCurrentDirectory fails. I don't have libiconv at the moment
though clearly could grab it.

Why does it explicitly translate to UTF16LE and not the host's endianness?
If I use g_utf8_to_utf16 and not g_convert it appears to work better to
me on HP (at least GetCurrentDirectory does).

Also it seems a bit odd to have both ICU (which I do have at present) and
ICONV about both of which can do the same thing. It would be nice if we
could use only one (ICU of course is my preference). Though since
I won't be using different filename encodings at the moment that is
not that relevant.

Bernie




More information about the Mono-devel-list mailing list