Report Codepage Conversion Errors
- Last Updated: October 27, 2020
- 1 minute read
- DataDirect Connectors
- ODBC
- Oracle Database Wire Protocol 8.0
- Documentation
Attribute
ReportCodepageConversionErrors (RCCE)
Purpose
Specifies how the driver handles code page conversion errors that occur when a character cannot be converted from one character set to another.
An error message or warning can occur if an ODBC call causes a conversion
error, or if an error occurs during code page conversions to and from the database or to and
from the application. The error or warning generated is Code page
conversion error encountered. In the case of parameter data conversion errors,
the driver adds the following sentence: Error in
parameter x, where x is the parameter number. The standard rules for returning
specific row and column errors for bulk operations apply.
Valid Values
0 | 1 | 2
Behavior
If set to 0 (Ignore Errors), the driver substitutes 0x1A for each character that cannot be converted and does not return a warning or error.
If set to 1 (Return Error), the driver returns an error instead of substituting 0x1A for unconverted characters.
If set to 2 (Return Warning), the driver substitutes 0x1A for each character that cannot be converted and returns a warning.
Default
0 (Ignore Errors)