Re: BOM and principle of least surprise

[email protected] (Erland Sommarskog)
Newsgroups perl.unicode
Organization Erland Sommarskog
Message-ID <[email protected]>
Jarkko Hietaniemi ([email protected]) writes:
> Though I must say that personally I would avoid using BOM with UTF-8:
> there is little reason to use a byte order mark with UTF-8 since UTF-8
> is byte order independent.

True. But then there is this pesky little issue: do we have a UTF-8
file or a file in an 8-bit charset. And the way they do it on Windows
is by BOM, like it or not...

Thanks for the update on the possibly upcoming patches!


-- 
Erland Sommarskog, Stockholm, [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.