It's not a bug. The character "á" is represented with two bytes in UTF-8.