![]() |
Successful data transportation between client and server can involve code set conversions. But CORBA limits the size of a char data item to one octet during transportation. So if any char data item is expanded to more than one octet in length during code set conversion, a CORBA::DATA_CONVERSION exception is generated.
Use the char data type for a parameter or return result only when the parameter or return result can contain data only from the Portable Character Set (PCS). Otherwise, use a string data type.