Use case for utf8::upgrade?

2010-04-07 Thread Michael Ludwig
Perl Unicode Advice http://juerd.nl/site.plp/perluniadvice Having read Juerd's list of useful advice, I don't understand the reason for its last three items: • utf8::upgrade before doing lc/lcfirst/uc • utf8::upgrade before doing case insensitive matching • utf8::upgrade before matching predefin

Re: Use case for utf8::upgrade?

2010-04-07 Thread Aristotle Pagaltzis
* Michael Ludwig [2010-04-07 15:00]: > Having read Juerd's list of useful advice, I don't understand > the reason for its last three items: > > • utf8::upgrade before doing lc/lcfirst/uc > • utf8::upgrade before doing case insensitive matching > • utf8::upgrade before matching predefined character

Re: Use case for utf8::upgrade?

2010-04-07 Thread Michael Ludwig
Am 07.04.2010 um 17:42 schrieb Aristotle Pagaltzis: > * Michael Ludwig [2010-04-07 15:00]: >> >> • utf8::upgrade before doing lc/lcfirst/uc >> • utf8::upgrade before doing case insensitive matching >> • utf8::upgrade before matching predefined character classes >> like w and s >> >> Can anyone

Re: Use case for utf8::upgrade?

2010-04-07 Thread Aristotle Pagaltzis
* Gisle Aas [2010-04-08 00:00]: > This fix was withdrawn from 5.12.0. Currently you have to "use > feature 'unicode_strings'" to get the sane behaviour in the > current lexical scope. Current 'perldoc unicode' also says: > > The "use feature 'unicode_strings'" pragma is intended to > a