Troubleshooting
Problem
Cannot process special UTF-8 characters using the Oracle Database adapter.
Symptom
Cannot process special UTF-8 characters using the Oracle Database adapter.
Cause
The fields are defined as Native in the Type tree and the NLS_LANG environment variable is not set correctly.
Environment
Using IBM WebSphere Transformation Extender (WTX) Map with the Oracle Database Adapter to retrieve data that contains special characters.
Diagnosing The Problem
Retrieving special characters from an Oracle database the output is not as expected.
For example :
The Hungarian characters 'ř' and 'č' are 'r' and 'c' in the output.
Resolving The Problem
1, Change all Type Tree fields to be defined as UTF-16 from NATIVE.
2. The environment variable NLS_LANG must be set :
NLS_LANG=American_America.AL32UTF8
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21984190