How can I store and retrieve Unicode or Double Byte data in a database using JDBC?
Location: http://www.jguru.com/faq/view.jsp?EID=79756 Created: Jun 18, 2000 Modified: 2000-07-25 17:34:57.98 Author: Kalyanaraman Parthasarathy (http://www.jguru.com/guru/viewbio.jsp?EID=61494) Question originally posed by Tian Hao (http://www.jguru.com/guru/viewbio.jsp?EID=56209 The underlying DBMS must support Unicode or the desired encoding. Internally, Java data are stored as Unicode only. So, if the Database supports Unicode and the table was created that way, the data will be written to the encoding of the table. Nothing needs to be done specifically, because the driver will handle the translation. See Supported Encodings and your DBMS documentation for more on encodings, code pages and so on.