struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Harland <harlander3...@yahoo.com>
Subject Re: [s2] How do I output unicode characters please help
Date Sat, 22 Sep 2007 19:32:55 GMT
Hi,

Thanks I have added those properties but it is still outputting &#xFC;.

Can someone please tell me what I might be doing wrong.

Dave.

----- Original Message ----
From: Leonidas Papadakis <it@creteonline.gr>
To: Struts Users Mailing List <user@struts.apache.org>
Sent: Saturday, September 22, 2007 4:22:04 PM
Subject: Re: [s2] How do I output unicode characters please help

Hi there,

in my Greek scenario i have set the below in struts.properties file :
struts.i18n.encoding=UTF-8
struts.locale = el_GR

in my freemarker.properties :
default_encoding=UTF-8
locale=el_GR

in my jsp file :
<%@ page contentType="text/html; charset=utf-8" %>

Also check the doctype of your resulting html.

I hope this will help ....

Regards

Leon

David Harland wrote:
> Hi,
>
> If I put the following \u00fc in a properties file and use it in a jsp i get the german
character ΓΌ output. If I have an action with the variable test and I set it with \u00fc and
I output it in a jsp I get the encoding &#xFC;.
>
> How do I get the character instead of this encoding please?
>
> Thanks
>
> Dave.
>
>
>
>
>       ____________________________________________________________________________________
> Don't let your dream ride pass you by. Make it a reality with Yahoo! Autos.
> http://autos.yahoo.com/index.html
>  
>
>
>
> ---------------------------------------------------------------------
> 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






       
____________________________________________________________________________________
Pinpoint customers who are looking for what you sell. 
http://searchmarketing.yahoo.com/

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


Mime
View raw message