You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Sergey Livanov <se...@ukrpost.net> on 2003/05/10 20:11:54 UTC

i18n URGENT !

I could not enter data in cyrillic from FORM .
The string looks like ???? In action class . 

1. I have read BRAIN TWISTER articles regarding the same problem . 
There some notes related to the above mentioned articles 
    - Browser accept windows-1251 encoding . 
    - I've put windows-1251 encoding in JSP.
    - I've put windows-1251 encoding in FORM.
    - Also I've included request.setCharacterEncoding("windows-1251") 
      in ActionClass code .
  
PS: I'm using W2K, Tomcat 4.1.24, Java2SDK SE v 1.4.1_02 
I will really appreciate your answer, as I have to finish my project in two
days .

Sergey .

--
Укрпост - продвинутая почта. http://www.ukrpost.net/
IMAP POP3 NNTP RSSNews Unicode.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: i18n URGENT !

Posted by Tsouchlarakis <ts...@netscape.net>.
try this for JSP's 

<%@page contentType="text/html; charset=ISO-8859-7"%>

and this for servlets

response.setContentType("text/html; charset=ISO-8859-7");

Dont forget to replace the greek 
iso charset code with the cirylic one
and chances are to work just fine!

Regards
Tsouchlarakis Michael

sergey.livanov@ukrpost.net wrote:

>I could not enter data in cyrillic from FORM .
>The string looks like ???? In action class . 
>
>1. I have read BRAIN TWISTER articles regarding the same problem . 
>There some notes related to the above mentioned articles 
>    - Browser accept windows-1251 encoding . 
>    - I've put windows-1251 encoding in JSP.
>    - I've put windows-1251 encoding in FORM.
>    - Also I've included request.setCharacterEncoding("windows-1251") 
>      in ActionClass code .
>  
>PS: I'm using W2K, Tomcat 4.1.24, Java2SDK SE v 1.4.1_02 
>I will really appreciate your answer, as I have to finish my project in two
>days .
>
>Sergey .
>
>--
>Укрпост - продвинутая почта. http://www.ukrpost.net/
>IMAP POP3 NNTP RSSNews Unicode.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org