7#if !defined(TETENGO_PLATFORMDEPENDENT_TEXTENCODER_HPP)
8#define TETENGO_PLATFORMDEPENDENT_TEXTENCODER_HPP
14#include <boost/core/noncopyable.hpp>
72 const std::unique_ptr<impl> m_p_impl;
A text encoder.
Definition text_encX.hpp:23
std::string encode_to_cp932(const std::string_view &utf8) const
Encodes a string to CP932.
std::string decode_from_cp932(const std::string_view &cp932) const
Decodes a string from CP932.
~text_encoder()
Destroys the text encoder.
static const text_encoder & instance()
Returns the instance.