Acceptability of SJIS character code

Document ID : KB000123529
Last Modified Date : 25/12/2018
Show Technical Document Details
Question:
Does LAC support character codes other than UTF-8? 
useing character codes that are not UTF-8 in DBs and APIs. 
(For example: SIFT-JIS, EUC... They are Japanese character codes.) 
Does the LAC support those character codes? 
In other words, when using LAC, they do not garbled characters. 
Environment:
Live API Creator
Answer:
It is not supported by LAC, but JDBC driver will handle it.
The JDBC driver delivers UNICODE characters to LAC. 
The driver and the database work together to convert a particular database record encoding into Unicode. 
For some databases such as Db2 using certain code pages, such as CP1027, the driver expects the Java virtual machine to have support. 
LAC has made available a CP1027 class for these instances when NOT using the IBM JVM. 
In the Java and JavaScript portions of LAC, it continues to be handled in Unicode. 
When LAC sends the response JSON, it is encoded to UTF-8 for transmission back the client.
If  problems occurs with  specific DBs or drivers, CA support will investigate to the extent possible.