struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Scheucher <scheuc...@webdynamite.com>
Subject Re: JSP with textarea/Form getter and german special character problem
Date Mon, 29 Aug 2005 07:43:13 GMT
Thanks!

Problem solved :-) My jsp was encoded in UTF-8. Changing to iso-8859-1 
fixed it.
"read out" should mean, use the getField() of the Form...




Leon Rosenberg schrieb:

>Sorry, but what do you mean with "read out".
>You have Ä in the jsp but ä in the console? If its a Win/DOS console,
>it doesn't matter, because windows uses it's own encoding. (cp1250)
>If its a unix/linux console, try to set the encoding of the console to
>iso-8859-1.
>You also have to save the encoding of the database (if any) to iso.
>
>If you have wrong values in the jsp, then:
>what's your jsp page encoding?
>
>try set the page directive to:
>
><%@ page contentType="text/html;charset=iso-8859-1" session="true" %>
>
>or use iso-8859-15 is you want the €-sign
>
>regards
>Leon
>
>
>
>
>On Mon, 2005-08-29 at 08:37 +0200, Andreas Scheucher wrote:
>  
>
>>Hello,
>>
>>I have got a JSP with an textarea. Whene i read out the value over the 
>>getter from the related formBean, i get wrong characters for german 
>>spezial characters:
>>äöüÄÖÜß ( right encoding is &auml; &ouml; &uuml; &Auml; ....
&szlig;
>>
>>becomes to äöü����
>>
>>Can anybody tell me, what to do to get the characters in the rigth 
>>encoding?
>>I am relatively new to web programming. Hence I am not that fitt in 
>>encodings and things like this.
>>
>>Thanks in advance,
>>Andreas
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>>    
>>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>For additional commands, e-mail: user-help@struts.apache.org
>
>
>  
>


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


Mime
View raw message