| 1032 | } |
| 1033 | |
| 1034 | uint8_t unicode_utf8_to_byte(const std::string & utf8) { |
| 1035 | static std::unordered_map<std::string, uint8_t> map = unicode_utf8_to_byte_map(); |
| 1036 | return map.at(utf8); |
| 1037 | } |
| 1038 | |
| 1039 | uint32_t unicode_tolower(uint32_t cpt) { |
| 1040 | // binary search |
no test coverage detected