perl-unicode

Re: BOM and principle of least surprise

2004-05-19 14:30:08
Nick Ing-Simmons (nick(_at_)ing-simmons(_dot_)net) writes:
Erland Sommarskog <sommar(_at_)algonet(_dot_)se> writes:
Both input data and the script. Just because the script has been saved
in UTF-8, does not mean that literals in the script are taken as UTF-8.

I disagree there. The literals have to be in same encoding as 
the surounding script - anything else is madness.

Indeed. However, currently it works in the way as I described it. But
with Jarkko's fix it will be better in 5.8.5.


-- 
Erland Sommarskog, Stockholm, sommar(_at_)algonet(_dot_)se

<Prev in Thread] Current Thread [Next in Thread>