• Post Reply Bookmark Topic Watch Topic
  • New Topic

Character Encoding

 
Kulkarni R S
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am coding a web application on Apache Tomcat. The web application is in Japanese and hence the requierd display is japanese. The servlet and JSP output on Tomcat console is perfectly fine however the browser dosent display the correct data. It just replaces the data by question marks.
I have tried setting the encoding to Shift_JIS and EU but not successful. Is any of the experts hava asolution to this. This is quite urgent.
Thanx
 
rohit poduval
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Set the content type using response.setContentType. Also set the meta tag http-equiv="Content-Type" appropriately.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!