Re: Endianness-specific

2007-10-06 Thread Bruno Haible
Hi Ludovic, > I'm trying to implement functions that convert a string in the current > locale encoding to its UTF-{16,32} representation, for a given > endianness. This kind of task is outside of the scope of the uniconv/* modules. 'unistr' and 'uniconv' deal wih UTF-{8,16,32} as an internal repr

Endianness-specific

2007-10-06 Thread Ludovic Courtès
Hi, I'm trying to implement functions that convert a string in the current locale encoding to its UTF-{16,32} representation, for a given endianness. `u16-conv-from-enc.c' reads this: /* Name of UTF-16 encoding with machine dependent endianness and alignment. */ #if defined _LIBICONV_VERSI