cpp-terminal 1.0.0
Small C++ library for writing multiplatform terminal applications
Loading...
Searching...
No Matches
unicode.hpp File Reference
#include <string>

Go to the source code of this file.

Namespaces

namespace  Term
 
namespace  Term::Private
 

Functions

std::string Term::Private::to_narrow (const std::wstring &wstr)
 
std::wstring Term::Private::to_wide (const std::string &str)
 
std::string Term::Private::utf32_to_utf8 (const char32_t &codepoint, const bool &exception=false)
 Encode a codepoint using UTF-8 std::string .
 
std::string Term::Private::utf32_to_utf8 (const std::u32string &str, const bool &exception=false)
 Encode a std::u32string into UTF-8 std::string .