Botan 3.13.0
Crypto and TLS for C&
charset.cpp File Reference
#include <botan/internal/charset.h>
#include <botan/exceptn.h>
#include <botan/internal/loadstor.h>

Go to the source code of this file.

Namespaces

namespace  Botan

Functions

std::string Botan::escape_control_chars (std::string_view utf8)
std::string Botan::format_char_for_display (char c)
bool Botan::is_ascii_control_char (char c)
bool Botan::is_unicode_control_char (uint32_t cp)
bool Botan::is_valid_utf8 (std::string_view utf8)
std::string Botan::latin1_to_utf8 (std::span< const uint8_t > chars)
uint32_t Botan::next_utf8_codepoint (std::string_view utf8, size_t &pos)
std::string Botan::ucs2_to_utf8 (std::span< const uint8_t > ucs2)
std::string Botan::ucs4_to_utf8 (std::span< const uint8_t > ucs4)
std::vector< uint8_t > Botan::utf8_to_ucs2 (std::string_view utf8)
std::vector< uint8_t > Botan::utf8_to_ucs4 (std::string_view utf8)