perl-unicode

Re: BOM and principle of least surprise

2004-05-17 14:30:10
Jarkko Hietaniemi (jhi(_at_)iki(_dot_)fi) 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, sommar(_at_)algonet(_dot_)se