develooper Front page | perl.perl5.porters | Postings from September 2009

Re: Perl's intolerance of U+FFFE, was Re: [perl #69414]Case-insensitive utf8 matching problem

Thread Previous | Thread Next
From:
Zefram
Date:
September 30, 2009 11:44
Subject:
Re: Perl's intolerance of U+FFFE, was Re: [perl #69414]Case-insensitive utf8 matching problem
Message ID:
20090930184412.GV14049@fysh.org
karl williamson wrote:
>But can someone explain to me why Perl forbids FFFE?

Because it's not a Unicode character.  But actually Perl doesn't forbid
it consistently.  If you turn off warnings then codepoints are mostly
accepted without discrimination.  Perl has several sets of codepoints
that are frowned upon, and applies different sets in different situations.
I made a table of them some time ago, but I can't find it now.

-zefram

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About