Set the default character set for an application.
RETCODE dbsetdefcharset(charset) char *charset;
The name of the character set to use. charset must be a null-terminated character string.
SUCCEED or FAIL.
dbsetdefcharset sets an application’s default character set.
DB-Library uses a default character set when no DBPROCESS structure is available or when localization information for a DBPROCESS structure’s character set cannot be found.
If an application does not call dbsetdefcharset, its default character set is the character set of the first DBPROCESS connection opened, or iso_1 if no DBPROCESS is open.
If an application plans to call both dbsetdefcharset and dbsetdeflang, it must call dbsetdefcharset first.