Problems? Is your data what you think it is? | |
PerlMonks |
Re^3: The “real length" of UTF8 stringsby Anonymous Monk |
on Sep 24, 2008 at 04:18 UTC ( [id://713345]=note: print w/replies, xml ) | Need Help?? |
You're right, the correlation between visual length and the actual number of characters is weak, and maybe only font dependent... But when I print these strings with both chinese and ASCII characters using the mysql command (SELECT * FROM...), it prints an array on stdout and is absolutely not confused with the visual and character lengths. That's why I think the solution must exist ^_^*
In Section
Seekers of Perl Wisdom
|
|