[utf8] Adding a boolean struct member for string_script_t return values, set to true if the string is ASCII (no transliteration needed, should be frequent for English addresses)
This commit is contained in:
@@ -18,6 +18,7 @@ typedef struct script_languages {
|
||||
typedef struct string_script {
|
||||
script_t script;
|
||||
size_t len;
|
||||
bool ascii;
|
||||
} string_script_t;
|
||||
|
||||
script_t get_char_script(uint32_t ch);
|
||||
|
||||
Reference in New Issue
Block a user