#include "TextEncoding.h"
Public Types | |
enum | EncodingStandard { UTF8 = 0 , UTF8_BOM = 1 , ANSI = 2 , UTF16_LEBOM = 3 , UTF16_BEBOM = 4 , UNKNOWN = 5 } |
Public Member Functions | |
std::string | getString (const EncodingStandard type) const |
EncodingStandard | getType (const std::string &type) const |
std::string ot::TextEncoding::getString | ( | const EncodingStandard | type | ) | const |
ot::TextEncoding::EncodingStandard ot::TextEncoding::getType | ( | const std::string & | type | ) | const |