forked from mirror/OpenTTD
(svn r21404) -Add: method for getting the length of an Utf8 string in characters
This commit is contained in:
@@ -233,6 +233,8 @@ static inline char *Utf8PrevChar(char *s)
|
||||
return ret;
|
||||
}
|
||||
|
||||
size_t Utf8StringLength(const char *s);
|
||||
|
||||
/**
|
||||
* Is the given character a text direction character.
|
||||
* @param c The character to test.
|
||||
|
Reference in New Issue
Block a user