Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^5: Mixed Unicode and ANSI string comparisons?by choroba (Cardinal) |
on Dec 15, 2015 at 08:44 UTC ( [id://1150342]=note: print w/replies, xml ) | Need Help?? |
And if the non-Unicode strings contain 8-bit chars?That's what I tried to demostrate with the encode, but apparently failed. The utf flag is an internal thing, you shouldn't care about it. If you're getting strings of mixed encodings from the data, fix the data or the input routines to unify the encoding.
In Section
Seekers of Perl Wisdom
|
|