
26 Nov
2007
26 Nov
'07
8:34 p.m.
allbery:
On Nov 26, 2007, at 19:23 , MaurĂ cio wrote:
Are 'String's in GHC 6.6.1 UTF-8?
No.
type String = [Char]
and Char stores Unicode codepoints. However, the IO system truncates them to 8 bits. I think there are UTF8 marshaling libraries on hackage these days, though.
Yep, utf8string, in particular. -- Don