in reply to Re: truncate string to byte count
in thread truncate string to byte count
Because that's not remotely right…?
UTF-8 is a variable length encoding with a minimum of 8 bits per character. Characters with higher code points will take up to 32 bits.
In Section
Seekers of Perl Wisdom