22 std::string getString(
const EncodingStandard type)
const;
23 EncodingStandard getType(
const std::string& type)
const;
26 const std::map<EncodingStandard, std::string> _encodingStandardToString = { {UTF8,
"UTF-8"}, {UTF8_BOM,
"UTF-8 BOM"}, {ANSI,
"ISO 8859-1"}, {UTF16_BEBOM,
"UTF-16 BE BOM"}, {UTF16_LEBOM,
"UTF-16 LE BOM"}, {
UNKNOWN,
"Unknown"} };
27 const std::map<std::string, EncodingStandard> _stringToEncodingStandard = { {
"UTF-8",UTF8}, {
"UTF-8 BOM",UTF8_BOM}, {
"ISO 8859-1",ANSI}, {
"UTF-16 BE BOM",UTF16_BEBOM}, {
"UTF-16 LE BOM",UTF16_LEBOM}, {
"Unknown",
UNKNOWN} };
Definition TextEncoding.h:19
EncodingStandard
Definition TextEncoding.h:21