Bug #967
- Fixed bug #967, which did not properly determine character widths for UTF8 characters (thanks to Victor Roetman, Jörg Plate, Markus Kuhn).
This commit is contained in:
@@ -173,6 +173,7 @@ int utf8_sequence (unsigned int character)
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// Length of a string in characters.
|
||||
int utf8_length (const std::string& str)
|
||||
{
|
||||
int byteLength = str.length ();
|
||||
|
||||
Reference in New Issue
Block a user