DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32500>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32500





------- Additional Comments From [EMAIL PROTECTED]  2004-12-04 22:54 -------
ok, i have tested this fully now. the reason your app is not working from the 
servlet side, regardless of database or no database, is because you O/S's 
locale/regional settings will be set such that the JVM Tomcat is using is 
defaulting character encoding for String creation (and other java.lang/java.io 
objects) to non-Hebrew support. Therefore you must either change your O/S 
locale so that the JVM defaults to Hebrew, OR you must convert your strings in 
the way you already found works, i.e new String("hebrew", "windows-1255");

Here is the reference:

"Every instance of the Java virtual machine has a default charset, which may 
or may not be one of the standard charsets. The default charset is determined 
during virtual-machine startup and typically depends upon the locale and 
charset being used by the underlying operating system."

http://java.sun.com/j2se/1.5.0/docs/api/java/nio/charset/Charset.html

This is not an anomaly of Tomcat nor the Java language.

Cheers, hope this helps. Allistair.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to