in reply to Re: truncate string to byte count
in thread truncate string to byte count
You might be thinking of UTF-16, but that's also wrong. A character encoded using UTF-16 results in 2 or 4 bytes depending on the character.
In Section
Seekers of Perl Wisdom