mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
UTF8
- Added more UTF8 unit tests for calculating string length, string width, formatted string length, formatted string width. - Implemented UTF8 text width method for symmetry.
This commit is contained in:
parent
551b4dbe90
commit
914447c885
3 changed files with 55 additions and 19 deletions
|
@ -38,6 +38,7 @@ int utf8_sequence (unsigned int);
|
|||
unsigned int utf8_length (const std::string&);
|
||||
unsigned int utf8_text_length (const std::string&);
|
||||
unsigned int utf8_width (const std::string& str);
|
||||
unsigned int utf8_text_width (const std::string&);
|
||||
const std::string utf8_substr (const std::string&, unsigned int, unsigned int length = 0);
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue