valeri/src/utf8.hpp

7 lines
141 B
C++
Raw Normal View History

#pragma once
#include <cstddef>
size_t utf8_codepoint_size(char32_t codepoint);
char *utf8_write_codepoint(char *str, char32_t codepoint);