How can I store and retrieve Unicode or Double Byte data in a database using JDBC?
Created Jun 18, 2000
Kalyanaraman Parthasarathy 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.