CVersitUnicodeUtils Class Reference
class CVersitUnicodeUtils : public CBase
|
Versit
Unicode utilities class.
This enables conversion between Unicode and ISO character sets.
Constructor & Destructor Documentation
~CVersitUnicodeUtils()
IMPORT_C
|
~CVersitUnicodeUtils
|
(
|
)
|
|
Frees all resources owned by the object, prior to its destruction.
Member Functions Documentation
AutoDetectCharSetL(const TDesC8 &, const CArrayFix< CCnvCharacterSetConverter::SCharacterSet > *)
ConvertStandardNameL(const TDesC8 &)
TUint
|
ConvertStandardNameL
|
(
|
const
TDesC8
&
|
aStandardNameOfCharacterSet
|
)
|
[inline]
|
Returns the Symbian OS UID for a character set from its Internet-standard name.
Parameters
const
TDesC8
& aStandardNameOfCharacterSet
|
Internet-standard name of a character set encoded in 8-bit ASCII.
|
CreateConverterL()
IMPORT_C void
|
CreateConverterL
|
(
|
)
|
|
Creates a converter for converting between Unicode and Code Page 1252.
Any unconvertible Unicode characters are converted into question marks.
NarrowL(const TDesC &)
Converts a string from Unicode to Code Page 1252.
Parameters
const
TDesC
& aDesC
|
The Unicode string to be converted.
|
NarrowLC(const TDesC &)
Converts a string from Unicode to Code Page 1252.
Parameters
const
TDesC
& aDesC
|
The Unicode string to be converted.
|
SetCurrentCharSetL(TUint)
StandardNameL(TUint)
Returns the Internet-standard name of a character set, from its Symbian OS UID.
Parameters
TUint
aCharSetId
|
The Symbian OS UID of a character set.
|
WidenL(const TDesC8 &)
Converts a string from Code Page 1252 into Unicode.
Parameters
const
TDesC8
& aDesC8
|
The Code Page 1252 string to be converted.
|
WidenLC(const TDesC8 &)
Converts a string from Code Page 1252 into Unicode.
Parameters
const
TDesC8
& aDesC8
|
The Code Page 1252 string to be converted.
|
Member Data Documentation
CArrayFix< CCnvCharacterSetConverter::SCharacterSet > * iCharSetsAvailable
TUint
iCurrentConverterCharSet
TUint
|
iCurrentConverterCharSet
|
[private]
|
TBool
iFsConnected
TBool
|
iFsConnected
|
[private]
|
CCnvCharacterSetConverter * iUnicodeConverter
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.