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

Go to the source code of this file.

Namespaces

namespace  Botan

Functions

std::string Botan::format_char_for_display (char c)
std::string Botan::latin1_to_utf8 (const uint8_t chars[], size_t len)
std::string Botan::ucs2_to_utf8 (const uint8_t ucs2[], size_t len)
std::string Botan::ucs4_to_utf8 (const uint8_t ucs4[], size_t len)
std::vector< uint8_t > Botan::utf8_to_ucs2 (const std::string &utf8)
std::vector< uint8_t > Botan::utf8_to_ucs4 (const std::string &utf8)