Re: BOM and principle of least surprise

[email protected] (Jarkko Hietaniemi)
Newsgroups perl.unicode
Message-ID <[email protected]>
Nick Ing-Simmons wrote:

> Larry Wall <[email protected]> writes:
> 
>>Right now, the meaning of "text" is subject to severe distortions
>>due to legacy issues.  But in the long run, "text" is going to mean
>>Unicode, and that probably means a UTF-8 file encoding at least in
>>the western world, 
> 
> 
> Microsoft seem to be somewhat focused on some 16-bit form.
> 
> This thread started as complaint that perl5 can't read a 
> script saved as UCS-2/UTF-16 or whatever Windows uses.

Uh, really?  Perl 5.8+ should be able to do that, automatically.

I thought the issue was about Perl not automatically guessing the
UTF-16 encoding of input data.

-- 
Jarkko Hietaniemi <[email protected]> http://www.iki.fi/jhi/ "There is this special
biologist word we use for 'stable'.  It is 'dead'." -- Jack Cohen
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.