Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_jsp thread: Problem with Cyrillic in my JSPs. META tag being ignored it seems.


Message #1 by STUANDIRINA@a... on Thu, 14 Nov 2002 13:45:04
First of all I have this line in my JSPs.

<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-5">
etc....

Therefore I expect to see my Cyrillic characters properly. I am running my 
site using Tomcat 4.0.3 with Internet Explorer and all jps are messing up 
the character encoding. As I test I took one simple jsp and renamed it to 
have a .html extension. Guess what - it worked!!! So why do JSPs foul up 
the charset encoding to produce meaningless rubbish?
As my site is to be viewed in Russia this is a MAJOR shortcoming. I have 
overcome this with static text by writing it like this: &#1044 - but that 
is no code for users to type into text controls is it?

By the way JBuilder with Tomcat masks the problem although it had some 
other peculiarities. It only became apparent when running seperately from 
this.





  Return to Index