| 908 | } |
| 909 | |
| 910 | uint8_t unicode_utf8_to_byte(const std::string & utf8) { |
| 911 | static std::unordered_map<std::string, uint8_t> map = unicode_utf8_to_byte_map(); |
| 912 | return map.at(utf8); |
| 913 | } |
| 914 | |
| 915 | uint32_t unicode_tolower(uint32_t cpt) { |
| 916 | // binary search |
no test coverage detected