|
static bool | logicalToVisualBiDi (const std::u32string &stringSrc, std::u32string &stringDst, FriBidiCharType base=FRIBIDI_TYPE_LTR, const bool failOnBadString=false, int *visualToLogicalMap=nullptr) |
|
static bool | isBidiDirectionRTL (const std::string &stringSrc) |
|
template<class INPUT , class OUTPUT > |
static bool | stdConvert (StdConversionType convertType, const INPUT &strSource, OUTPUT &strDest, bool failOnInvalidChar=false) |
|
template<class INPUT , class OUTPUT > |
static bool | customConvert (const std::string &sourceCharset, const std::string &targetCharset, const INPUT &strSource, OUTPUT &strDest, bool failOnInvalidChar=false) |
|
template<class INPUT , class OUTPUT > |
static bool | convert (iconv_t type, int multiplier, const INPUT &strSource, OUTPUT &strDest, bool failOnInvalidChar=false) |
|
◆ convert()
template<class INPUT , class OUTPUT >
bool CCharsetConverter::CInnerConverter::convert |
( |
iconv_t | type, |
|
|
int | multiplier, |
|
|
const INPUT & | strSource, |
|
|
OUTPUT & | strDest, |
|
|
bool | failOnInvalidChar = false ) |
|
static |
◆ customConvert()
template<class INPUT , class OUTPUT >
bool CCharsetConverter::CInnerConverter::customConvert |
( |
const std::string & | sourceCharset, |
|
|
const std::string & | targetCharset, |
|
|
const INPUT & | strSource, |
|
|
OUTPUT & | strDest, |
|
|
bool | failOnInvalidChar = false ) |
|
static |
◆ isBidiDirectionRTL()
bool CCharsetConverter::CInnerConverter::isBidiDirectionRTL |
( |
const std::string & | stringSrc | ) |
|
|
static |
◆ logicalToVisualBiDi()
bool CCharsetConverter::CInnerConverter::logicalToVisualBiDi |
( |
const std::u32string & | stringSrc, |
|
|
std::u32string & | stringDst, |
|
|
FriBidiCharType | base = FRIBIDI_TYPE_LTR, |
|
|
const bool | failOnBadString = false, |
|
|
int * | visualToLogicalMap = nullptr ) |
|
static |
◆ stdConvert()
template<class INPUT , class OUTPUT >
bool CCharsetConverter::CInnerConverter::stdConvert |
( |
StdConversionType | convertType, |
|
|
const INPUT & | strSource, |
|
|
OUTPUT & | strDest, |
|
|
bool | failOnInvalidChar = false ) |
|
static |
◆ m_critSectionFriBiDi
CCriticalSection CCharsetConverter::CInnerConverter::m_critSectionFriBiDi |
|
static |
◆ m_stdConversion
Initial value:=
{
CConverterType(
"UTF-16BE",
"UTF-8", CCharsetConverter::m_Utf8CharMaxSize),
CConverterType(
"UTF-16LE",
"UTF-8", CCharsetConverter::m_Utf8CharMaxSize),
CConverterType(
"UCS-2LE",
"UTF-8", CCharsetConverter::m_Utf8CharMaxSize),
CConverterType(
"macintosh",
"UTF-8", CCharsetConverter::m_Utf8CharMaxSize)
}
Definition utils/CharsetConverter.cpp:83
@ SystemCharset
Definition utils/CharsetConverter.cpp:77
@ SubtitleCharset
Definition utils/CharsetConverter.cpp:79
@ UserCharset
Definition utils/CharsetConverter.cpp:78
#define UTF32_CHARSET
Definition utils/CharsetConverter.cpp:58
#define UTF8_SOURCE
Definition utils/CharsetConverter.cpp:59
#define WCHAR_CHARSET
Definition utils/CharsetConverter.cpp:60
The documentation for this class was generated from the following file: