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. ** Patch added: "cowsay" http://launchpadlibrarian.net/39303213/cowsay -- cowsay miscalculates length of multibyte-UTF-8-characters https://bugs.launchpad.net/bugs/393212 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs