Using InputStreamReader to read and store Unicode(Arabic) to Oracle [message #129373] |
Sun, 24 July 2005 21:16 |
len_chuan
Messages: 1 Registered: July 2005
|
Junior Member |
|
|
Please advice,
I'm currently using Java program (InputStreamReader) to read a Unicode text file and it will be store in Oracle database. However, after I stored it in Oracle, it shows '¿¿ ¿¿¿¿¿¿' in oracle whereever the arabic words apply. What is the problem of it?? I have set the InputStreamReader to read UTF-16 code.
InputStreamReader inputStreamReader = new InputStreamReader(fileInputStream, "UTF-16");
Please help...thanks...
|
|
|