[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:
Al
2015-06-28 19:37:53 -04:00
parent f0bf7e750c
commit cc0401a8d1
2 changed files with 8 additions and 1 deletions

View File

@@ -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);