librime 1.2
Rime Input Method Engine, the core library
cpp17.h File Reference
#include "checked.h"
#include <string>
Include dependency graph for cpp17.h:

Go to the source code of this file.

Namespaces

namespace  utf8

Functions

void utf8::append (char32_t cp, std::string &s)
std::string utf8::utf16to8 (std::u16string_view s)
std::u16string utf8::utf8to16 (std::string_view s)
std::string utf8::utf32to8 (std::u32string_view s)
std::u32string utf8::utf8to32 (std::string_view s)
std::size_t utf8::find_invalid (std::string_view s)
bool utf8::is_valid (std::string_view s)
std::string utf8::replace_invalid (std::string_view s, char32_t replacement)
std::string utf8::replace_invalid (std::string_view s)
bool utf8::starts_with_bom (std::string_view s)