users@glassfish.java.net

Re: How to set charset for sybase datasource?

From: <glassfish_at_javadesktop.org>
Date: Sun, 04 Jan 2009 20:44:24 PST

Plese check if your charset is a valid one. charset is case-sensitive in java.
Test with a simple java program, the availability of the charset in your VM :
"someString".getBytes("cp936"); and see if it executes correctly. If so, you could append this to the url.
[Message sent by forum member 'sm157516' (sm157516)]

http://forums.java.net/jive/thread.jspa?messageID=324017