Unexpected lc behaviour

Mark Fowler mark at twoshortplanks.com
Tue Aug 20 15:26:15 BST 2013


On Monday, 19 August 2013 at 14:30, Yitzchak Scott-Thoennes wrote:
> -E enables features, too; specifically:
> 
> use feature 'unicode_strings';

So, as far as I can gather, characters in the upper latin-1 range (i.e. characters 127-255) are lowercased by lowercasing operations iff:

- The unicode flag is on on the string

or

- The "unicode_strings" feature is in lexical scope (which it is if you use -E)

Just when I thought I knew everything there was to know about unicode and Perl, another random bit of knowledge comes along.

Mark.




More information about the london.pm mailing list