mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
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:
parent
76c8d616d9
commit
43c2b402cd
8 changed files with 262 additions and 6 deletions
|
@ -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 ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue