- From: Christopher William Turner <cwturner@cycom.co.uk>
- Date: Tue, 10 Oct 2000 10:15:55 +0100
- To: Jayabalan Kandasamy <jkandasamy@rightworks.com>
- CC: "'www-jigsaw@w3.org'" <www-jigsaw@w3.org>
There are probably character set conversions happening. JDBC is not strong at allowing you to set the correct character sets for String datatype. You could try converting all strings to UTF8 before reading or writing them from database. They may still look garbage when viewed via dumb oracle tools but they will not lose data when your servlet reads them back. Look at documentation for String.String(byte [], String encoding) and String.getBytes(String encoding) there are lots of encodings to choose from but UTF8 is a lossless one for use with 8bit char based databases.
Received on Tuesday, 10 October 2000 05:20:54 UTC