[Colin Paul Adams] Re: [Haskell-cafe] Ready for testing: Unicode support for Handle I/O

"John" == John Goerzen
writes:
>> latin1, utf8, utf16, utf16le, utf16be, utf32, utf32le, utf32be, >> localeEncoding, John> Will there also be something to handle the UTF-16 BOM John> marker? I'm not sure what the best API for that is, since John> it may or may not be present, but it should be considered -- John> and could perhaps help autodetect encoding. Not really. The UTF-16 BOM is only allowed for utf16. Utf16le and utf16be do not have a BOM. What it does is alloww you to auto-detect the endianness if utf16 has been requested as the encoding (if it is not present the big-endian is assumed). Ditto for utf32/utf32be/utf32le. A BOM is thesedays allowed (but deprecated - it should never have been allowed and originally wasn't) for utf8 also. But it has no value other than to introduce ambiguity. :-( -- Colin Adams Preston Lancashire

Colin, I really don't see the point of putting your own name at the front of the subject line. It is redundant because it's already in the email headers. Perhaps this was a technical glitch? -- Robin

"Robin" == Robin Green
writes:
Robin> Colin, I really don't see the point of putting your own Robin> name at the front of the subject line. It is redundant Robin> because it's already in the email headers. Perhaps this was Robin> a technical glitch? I guess so - certainly I didn't type it. -- Colin Adams Preston Lancashire
participants (2)
-
Colin Paul Adams
-
Robin Green