| 651 | } |
| 652 | |
| 653 | uint8_t unicode_utf8_to_byte(const std::string & utf8) { |
| 654 | static std::unordered_map<std::string, uint8_t> map = unicode_utf8_to_byte_map(); |
| 655 | return map.at(utf8); |
| 656 | } |
| 657 | |
| 658 | uint32_t unicode_tolower(uint32_t cpt) { |
| 659 | // binary search |
no test coverage detected