new module iconv_open-utf (was: Re: Endianness-aware UTF conversion)

2007-10-14 Thread Bruno Haible
Ludovic Courtès wrote: > the excerpt of `u16-conv-from-enc.c' > that I quoted made me think that, e.g., "UTF-16BE" and "UTF-16LE" were > only known to work on Glibc >= 2.2: > > /* Name of UTF-16 encoding with machine dependent endianness and alignment. > */ > #if defined _LIBICONV_VERSION ||

Endianness-aware UTF conversion

2007-10-07 Thread Ludovic Courtès
Hi Bruno, Bruno Haible <[EMAIL PROTECTED]> writes: > Therefore I would recommend to use the mem_cd_iconveh function from the > 'striconveh' module, with FROMCODE = locale_charset() and TOCODE = > "UTF-16BE" or "UTF-16LE" (or vice versa). Or mem_iconveh you don't > want to reuse the conversion des