I am having a file in which some of the text was in Unicode format. I want to read this file in Java and insert into oracle database. The following is the code for reading the unicode string from the file.
Java is reading the correct unicode (i can see this while debuggin the code). Is there any way to insert the Unicode chars to DB.
I am viewing the chars in the html page with Encoding set to 'Central European - Windows).
Thanks & Regards, Mahesh P
Joined: Dec 13, 2004
Have you tried simply storing the string as VARCHAR2? If that doesn't work, you can always serialize them to BLOB.
Joined: Jul 02, 2004
Thanks for ur reply...
The database column used is NVarchar to store Unicode format..