Retrieving multilingual data from Oracle 8i
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   omer_Imtiaz
Posted On:   Thursday, July 10, 2003 12:59 AM


I need to retrieve Japanese data from one of the tables in Oracle 8i. I use rs.getString("columnname") method to get the value. But it doesnt display the correct value.


I want to know does JAVA provide any special class (e.g. some kind of String class) for holding multilingual data? the same column can contain english and japanese data at the same time.


Regards


Omer

Re: Retrieving multilingual data from Oracle 8i

Posted By:   Thomas_Hackel  
Posted On:   Thursday, July 10, 2003 05:17 AM

when the database stores strings as UTF-8/16, java can handle this(because strings are internally handled as unicode strings) and convert them correcly. additionally you can also set the encoding of a string. see the api doc.

first check with which encoding your 8i stores text/strings.

About | Sitemap | Contact