TIBCO Adapter SDK C++ Reference
MChar::MChar
MChar
Create an MChar using the specified character and encoding. With this constructor you specify the character as an unsigned char. Unicode is supported and encoding information must be supplied.

The SDK makes a copy of the char. If the source string contains fewer characters than specified by the character class, then NULL characters are used for padding.

Parameters
Parameters Description
UChar const uc Character to be interpreted with the specified encoding type. The character code and the encoding type together determine the actual character.
char const * type = NULL Encoding type for the data passed in (not the target type). Default is M_UTF8BE. See the MChar class description for a list of some of the most commonly used types that are supported.
Declaration
MChar(UChar const uc, char const * type = NULL);
Links
Copyright (c) 2010 TIBCO Software Inc. All rights reserved.