| class CVersitUnicodeUtils : public CBase |
Versit Unicode utilities class.
This enables conversion between Unicode and ISO character sets.
| Public Member Functions | |
|---|---|
| ~CVersitUnicodeUtils() | |
| TUint | AutoDetectCharSetL(const TDesC8 &, const CArrayFix< CCnvCharacterSetConverter::SCharacterSet > *) |
| CCnvCharacterSetConverter & | CharacterSetConverter() |
| TUint | ConvertStandardNameL(const TDesC8 &) |
| IMPORT_C void | CreateConverterL() |
| IMPORT_C HBufC8 * | NarrowL(const TDesC &) |
| IMPORT_C HBufC8 * | NarrowLC(const TDesC &) |
| CCnvCharacterSetConverter::TAvailability | SetCurrentCharSetL(TUint) |
| HBufC8 * | StandardNameL(TUint) |
| IMPORT_C HBufC * | WidenL(const TDesC8 &) |
| IMPORT_C HBufC * | WidenLC(const TDesC8 &) |
| TUint | AutoDetectCharSetL | ( | const TDesC8 & | aSample, |
| const CArrayFix< CCnvCharacterSetConverter::SCharacterSet > * | aAutoDetectCharSets | |||
| ) | ||||
| const TDesC8 & aSample | |
| const CArrayFix< CCnvCharacterSetConverter::SCharacterSet > * aAutoDetectCharSets |
| CCnvCharacterSetConverter & | CharacterSetConverter | ( | ) | const [inline] |
Returns the character set converter created in CreateConverterL().
A character set converter.
| TUint | ConvertStandardNameL | ( | const TDesC8 & | aStandardNameOfCharacterSet | ) | [inline] |
Returns the Symbian OS UID for a character set from its Internet-standard name.
The Symbian OS UID of the specified character set. If the name is not known, zero is returned.
| const TDesC8 & aStandardNameOfCharacterSet | Internet-standard name of a character set encoded in 8-bit ASCII. |
| CCnvCharacterSetConverter::TAvailability | SetCurrentCharSetL | ( | TUint | aCharacterSet | ) |
| TUint aCharacterSet |
| HBufC8 * | StandardNameL | ( | TUint | aCharSetId | ) | [inline] |
Returns the Internet-standard name of a character set, from its Symbian OS UID.
The Internet-standard name or MIME name of the specified character set, or NULL if the UID is not known. The name is encoded in 8-bit ASCII.
| TUint aCharSetId | The Symbian OS UID of a character set. |
| IMPORT_C HBufC * | WidenLC | ( | const TDesC8 & | aDesC8 | ) |
| const TDesC8 & aDesC8 |
| CArrayFix< CCnvCharacterSetConverter::SCharacterSet > * | iCharSetsAvailable | [private] |