Question & Answer
Question
Unicode characters are not appearing properly in console and API results even though they appear correctly in the DB *|* -0642EE3707039A1385257917007D6064- *|*
Answer
Technote (troubleshooting)
Problem(Abstract)
Unicode characters are not appearing properly in console and API results even though they appear correctly in the DB
Symptom
SSCAP Supply Chain Applications (MCF)
Release 7x 8x
Unicode characters (UTF-8) are not appearing properly in the console and API results (when using the API tester for example) even though the characters appear properly in the database.
Resolving the problem
If using a Java program to read the data (or input the data) set the system property "file.encoding" to "UTF-8" as follows:
System.setProperty("file.encoding" "UTF-8");
For console-related issues first set the encoding type in the Web Browser (in Internet Explorer: View->Encoding->UTF-8). If inputting data in the API tester be sure to first set the encoding type in the Web Browser before pasting the input data into the textbox. Then when you run the API tester the results should reflect the Unicode characters correctly.
Historical Number
NFX4797
Product Alias/Synonym
Severity
Normal
Type
CoreChange
Was this topic helpful?
Document Information
Modified date:
12 October 2021
UID
ibm10764737