Comment 9 for bug 393212

Revision history for this message
Andrew Marsh (andrewmarsh01) wrote :

I have created a fix to this problem and shll upload it as soon as I work out how to do it. Basically the bug is that perl does not know that the input is supposed to be a utf-8 string. By adding use Encode to the top of the file and by using Encode::decode_utf8 before checking the length of the string the problem is fixed.

Unfortunately, this will still not work with all unicode characters as some, for instance japanese characters, are not the same width as other characters in the default terminal font.