载入中...
搜索中...
未找到
#include "common/config.h"#include <cstddef>#include <string>命名空间 | |
| namespace | eve |
函数 | |
| size_t | eve::utf8_codepoint_count (const std::string &s) |
| Count UTF-8 code points in a string. Invalid / truncated sequences stop the scan. | |
| size_t | eve::utf8_byte_offset_for_codepoints (const std::string &s, size_t codepoints) |
| Byte offset of the N-th UTF-8 code point (0-based count of code points). Returns s.size() if there are fewer than N code points. | |