Product Documentation

V11.5 Release Notes

Previous Topic

Next Topic

Locale support added to dbdump, dbload, dbschema

It was reported the c-treeACE SQL data dump utility, dbdump, failed when applied to a table containing UTF-8 characters: ERROR : Data conversion error.

These characters were not defined in the local locale and defaulted to 7-bit ASCII. A local locale is now set using the system locale API call so that data conversion routines now handle data outside 7-bit characters. This relies on setlocale(LC_ALL,"") behavior being supported, which falls back to the locale settings (LC_CTYPE, LC_COLLATE, etc.) defined in the environment. The c-treeACE SQL dbdump, dbload and dbschema utilities were all updated in this manner.

TOCIndex