GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
CharsetOperator.h
1
29
#ifndef GPGFRONTEND_CHARSETDETECTOR_H
30
#define GPGFRONTEND_CHARSETDETECTOR_H
31
32
#include "core/GpgFrontendCore.h"
33
34
namespace
GpgFrontend
{
35
36
class
GPGFRONTEND_CORE_EXPORT
CharsetOperator
{
37
public
:
38
using
CharsetInfo = std::tuple<std::string, std::string, int>;
39
40
static
CharsetInfo Detect(
const
std::string &buffer);
41
42
static
bool
Convert2Utf8(
const
std::string &buffer, std::string &out_buffer,
43
std::string from_charset_name);
44
};
45
}
// namespace GpgFrontend
46
47
#endif
// GPGFRONTEND_CHARSETDETECTOR_H
GpgFrontend::CharsetOperator
Definition:
CharsetOperator.h:36
GpgFrontend
Definition:
CoreCommonUtil.cpp:31
src
core
function
CharsetOperator.h
Generated by
1.9.1