Thursday, January 28, 2010, 4:07:07 PM, you wrote:
> thanks for the tip, but how do I use the library?
> I can't really make out how to feed it UTF-16 and get String (UTF-8) back.
Haskell String type isn't UTF-8 encoded. it's [Char] where Char is in
UCS-4 aka UTF-32 :)
> BTW: I need this function because I'm using HDBC-ODBC with MS Access and
> in MS Access apparently every string is in UTF-16.
look at withTString and its friends:
> Am 28.01.10 12:47, schrieb Ivan Lazar Miljenovic:
>> Gunther Schmidt<[email protected]> writes:
>>> is there a library which converts from utf-16 to utf-8?
>> The text library can (you can also choose between big and little endian
>>> Haskell-Cafe mailing list
>>> [email protected]
> Haskell-Cafe mailing list
> [email protected]
Bulat mailto:[email protected]
Haskell-Cafe mailing list