Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

New encoding for tomcat

 
Burak Celebi
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

How can I install a new encoding(iso-8859-6) support to tomcat?

I have no problems with my locale tomcat, however at serverside charecters are not displayed properly.

Thanks in advance.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
On Linux boxes, I add this line to the top of my startup.sh wrapper:
export LANG=en_US.iso885915
 
Burak Celebi
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank ypuı for your reply

I added



to startup.sh but there is no change.
 
sergio mendez-rueda
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
try this:

In the Catalina.bat (windows) catalina.sh (windows)
apache$jakarta_config.com (OpenVMS), file there must be a switch added to
the call to java.exe. The switch is:

-Dfile.encoding=UTF-8 (or what do you need)

I cannot find documentation for this environment variable anywhere or what
it actually does but it is essential.

ser
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving this to the Apache/Tomcat forum. This forum is for Servlets questions.

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic