Keep It Simple, Stupid | |
PerlMonks |
Re^4: Mixed Unicode and ANSI string comparisons?by Anonymous Monk |
on Dec 15, 2015 at 01:15 UTC ( [id://1150319]=note: print w/replies, xml ) | Need Help?? |
No, as far as perl is concerned, you start with 4 Unicode strings and get 8 Unicode strings... in different storage formats. utf8 flag says pretty much nothing about "Unicodeness".And now I remembered that LATIN_SMALL_LETTER_C_WITH_CEDILLA is codepoint 231 and you didn't use feature 'unicode_strings' (or, more commonly, use 5.012)... So yeah, you had 3 Unicode strings and 1 non-Unicode, "c" being Unicode (utf8 off), CEDILLA non-Unicode (utf8 on...) Interesting, isn't it? :)
In Section
Seekers of Perl Wisdom
|
|