W3C home > Mailing lists > Public > www-international@w3.org > October to December 2002

What is the DBC setting needed for specifying the encoding of the target database column ?

From: souravm <souravm@infosys.com>
Date: Fri, 22 Nov 2002 12:16:04 +0900
Message-Id: <4.2.0.58.J.20021122121558.04dbebb0@localhost>
To: www-international@w3.org
Hi All,

I'm using JDBC in a Java program to get data from SQL Server 7.0. I'm
using Sun's jdbc-odbc driver.

In this context can anyone please let me know whether is it possible to
specify the encoding of the data stored in SQL server at the JDBC level
(i.e. through JDBC API or at the DSN definition) ?

The purpose for which I'm looking for this information is that I want
the jdbc driver to properly convert the data from Java's internal
Unicode representation to the target database column's encoding and
vice-versa while inserting and fetching the data respectively.

Any help will be greatly appreciated.

Thanks in advance,
Sourav




Received on Thursday, 21 November 2002 22:16:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 19:16:59 GMT