Botan 3.13.0
Crypto and TLS for C&
charset.h File Reference

Internal Header. More...

#include <botan/types.h>
#include <array>
#include <span>
#include <string>
#include <string_view>
#include <vector>

Go to the source code of this file.

Classes

class  Botan::CharacterValidityTable

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)
constexpr char Botan::nibble_to_hex (uint8_t b)
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)

Detailed Description

Internal Header.

Definition in file charset.h.