DB Interface Module User’s Guide : PART III Using Advanced Features : Chapter 13 Internationalization : Character Sets : RWCString
RWCString
RWCStrings can be used to hold and manipulate multibyte strings. SourcePro DB allows their use even when associated with national character set columns, although it may not format them properly since RWCString is also the default class associated with standard character string columns. It is recommended that SourcePro DB application programs use RWDBMBStrings for national character set columns and RWCString for standard character set columns.
Data Definition Language
The encapsulation of Data Definition Language (DDL) by the DB Interface Module allows the creation of national character set columns when defining new tables. The public enum ValueType, from class RWDBValue, is used by class RWDBColumn to specify the type of a column. When creating a table, specifying a column type of RWDBValue::UString, RWDBValue::MBString, or RWDBValue::WString results in a national character set column type. Please see your Access Module User Guide for more information on the SQL type to which these RWDBValue types map.
Using Schema Information from Result Tables
While some databases require special treatment for the standard and multibyte strings sent to servers, some do not differentiate when returning standard and multibyte strings. Please check your Access Module User's Guide to see what type mappings are defined for the SQL types in your database when retrieving data.