Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: convgeneratedcpp.h

Globals

Support

Supported from 6.0

Description

Global objects for use in the implementation of the plug-in interface. conversionData and ReplacementForUnconvertibleUnicodeCharacters_internal() are declared in convgeneratedcpp.h and are implemented in a file generated by cnvtool. They can be used in the plug-in DLL's implementations of the three functions ReplacementForUnconvertibleUnicodeCharacters(), ConvertFromUnicode() and ConvertToUnicode().


ReplacementForUnconvertibleUnicodeCharacters_internal()

const TDesC8& ReplacementForUnconvertibleUnicodeCharacters_internal();

Description

Returns the single character (as one or more byte values) which is used by default as the replacement for unconvertible Unicode characters. These byte values are output when converting from Unicode into a foreign character set for each Unicode character that has no equivalent in the foreign character set.

Return value

const TDesC8&

The single character which is used to replace unconvertible characters.

[Top]


conversionData

const SCnvConversionData conversionData

Description

Contains the conversion data for the foreign character set. This object can be passed as the first parameter to CCnvCharacterSetConverter::DoConvertFromUnicode() or CCnvCharacterSetConverter::DoConvertToUnicode()