[Haskell-cafe] Re: String vs ByteString

Michael Snoyman michael at snoyman.com
Tue Aug 17 07:32:26 EDT 2010


On Tue, Aug 17, 2010 at 2:20 PM, Ivan Lazar Miljenovic <
ivan.miljenovic at gmail.com> wrote:

> Michael Snoyman <michael at snoyman.com> writes:
>
> > I don't think *anyone* is asserting that UTF-16 is a common encoding
> > for files anywhere,
>
> *ahem*
> http://en.wikipedia.org/wiki/UTF-16/UCS-2#Use_in_major_operating_systems_and_environments
>
> I was talking about the contents of the files, not the file names or how
the system calls work. I know at least on Windows, Linux and FreeBSD, if you
open up the default text editor, type in a few letters and hit save, the
file will not be in UTF-16.

Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20100817/f5c1cf42/attachment.html


More information about the Haskell-Cafe mailing list