diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2021-10-12 21:36:08 +0300 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2021-10-28 10:12:57 +0300 |
commit | 63f3051154a7e672956cffe41f90ed8d56a9ec23 (patch) | |
tree | 482166808a72700a51e9e29b73e35abc7f279da0 /modules/text_server_adv/text_server_adv.h | |
parent | 0ec77631979997b3e6bcd9146ea8f1c3e4166b81 (diff) |
Implement TextServer `strip_diacritics` function.
Diffstat (limited to 'modules/text_server_adv/text_server_adv.h')
-rw-r--r-- | modules/text_server_adv/text_server_adv.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/text_server_adv/text_server_adv.h b/modules/text_server_adv/text_server_adv.h index 333b68e074..15f3a7f1a9 100644 --- a/modules/text_server_adv/text_server_adv.h +++ b/modules/text_server_adv/text_server_adv.h @@ -50,6 +50,7 @@ #include <unicode/udata.h> #include <unicode/uiter.h> #include <unicode/uloc.h> +#include <unicode/unorm2.h> #include <unicode/uscript.h> #include <unicode/ustring.h> #include <unicode/utypes.h> @@ -501,6 +502,8 @@ public: virtual String parse_number(const String &p_string, const String &p_language = "") const override; virtual String percent_sign(const String &p_language = "") const override; + virtual String strip_diacritics(const String &p_string) const override; + TextServerAdvanced(); ~TextServerAdvanced(); }; |