kodi
Static Public Member Functions | Static Public Attributes | List of all members
CCharsetConverter::CInnerConverter Class Reference
Collaboration diagram for CCharsetConverter::CInnerConverter:
Collaboration graph
[legend]

Static Public Member Functions

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)
 

Static Public Attributes

static CConverterType m_stdConversion [NumberOfStdConversionTypes]
 
static CCriticalSection m_critSectionFriBiDi
 

Member Data Documentation

◆ m_stdConversion

CConverterType CCharsetConverter::CInnerConverter::m_stdConversion
static
Initial value:
=
{
CConverterType(UTF8_SOURCE, UTF32_CHARSET),
CConverterType(UTF32_CHARSET, "UTF-8", CCharsetConverter::m_Utf8CharMaxSize),
CConverterType(UTF32_CHARSET, WCHAR_CHARSET),
CConverterType(WCHAR_CHARSET, UTF32_CHARSET),
CConverterType(SubtitleCharset, "UTF-8", CCharsetConverter::m_Utf8CharMaxSize),
CConverterType(UTF8_SOURCE, UserCharset),
CConverterType(UserCharset, "UTF-8", CCharsetConverter::m_Utf8CharMaxSize),
CConverterType(UTF32_CHARSET, UserCharset),
CConverterType(WCHAR_CHARSET, "UTF-8", CCharsetConverter::m_Utf8CharMaxSize),
CConverterType("UTF-16LE", WCHAR_CHARSET),
CConverterType("UTF-16BE", "UTF-8", CCharsetConverter::m_Utf8CharMaxSize),
CConverterType("UTF-16LE", "UTF-8", CCharsetConverter::m_Utf8CharMaxSize),
CConverterType(UTF8_SOURCE, WCHAR_CHARSET),
CConverterType(UTF8_SOURCE, SystemCharset),
CConverterType(SystemCharset, UTF8_SOURCE),
CConverterType("UCS-2LE", "UTF-8", CCharsetConverter::m_Utf8CharMaxSize),
CConverterType("macintosh", "UTF-8", CCharsetConverter::m_Utf8CharMaxSize)
}

The documentation for this class was generated from the following file: