Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

TOMCAT default encoding

koszta5Jan 22 2011 — edited Jan 22 2011
[EDIT] ok, I found out that JVM is UTF-8, how do I change tomcat settings then? (cause I guess that is the problem) [EDIT]

Hi,
I found out that I JVM takes over the default system encoding as its own. How do I force it to use UTF-8. I am using Mac OS X (and Linux) cant find my way around in either of those two systems. It remains ISO 8859-1 and MacOS Roman ... I know it can be set straight in java code but I dont want to do that. I am running a J2ee webapp but I just cant find my way around... I 've heard there is a way how to force tomcat to use UTF-8 on startup but still... I want my JVM to use UTF-8... How do I make it happen ? :)

Edited by: koszta5 on Jan 22, 2011 7:39 AM

Edited by: koszta5 on Jan 22, 2011 7:40 AM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 19 2011
Added on Jan 22 2011
5 comments
1,406 views