"be consistent" | |
PerlMonks |
Re^2: The “real length" of UTF8 stringsby moritz (Cardinal) |
on Sep 23, 2008 at 20:35 UTC ( [id://713305]=note: print w/replies, xml ) | Need Help?? |
In general the correlation between byte length in UTF-8 and visual character width is only a weak one.
For example many european non-ASCII-characters are printed with visual width of only one character, but encoded as two bytes. The Euro sign € is even encoded as three bytes, and still printed with a width of only one.
In Section
Seekers of Perl Wisdom
|
|