Re: BOM and principle of least surprise

[email protected] (Erland Sommarskog)
Newsgroups perl.unicode
Organization Erland Sommarskog
Message-ID <[email protected]>
Nick Ing-Simmons ([email protected]) writes:
> Erland Sommarskog <[email protected]> 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, [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.