Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^4: Best Way to Get Length of UTF-8 String in Bytes?by ikegami (Patriarch) |
on Apr 24, 2011 at 05:43 UTC ( [id://901015]=note: print w/replies, xml ) | Need Help?? |
I see use bytes; without any utf8::upgrade or utf8::downgrade, and that usually indicates code that suffers from "The Unicode Bug".
should be
Or the same without bytes:
Update: Added non-bytes alternative.
In Section
Seekers of Perl Wisdom
|
|