4 #include "c4/language.hpp"
5 #include "c4/substr_fwd.hpp"
substr skip_bom(substr s)
skip the Byte Order Mark, or get the full string if there is Byte Order Mark.
substr get_bom(substr s)
get the Byte Order Mark, or an empty string if there is no Byte Order Mark
size_t first_non_bom(csubstr s)
return the position of the first character not belonging to the Byte Order Mark, or 0 if there is no ...
substr decode_code_point(substr out, csubstr code_point)
decode the given code_point, writing into the output string in out.