struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Sánchez <inganto...@gmail.com>
Subject Encoding in <s:property>
Date Thu, 14 Oct 2010 21:40:21 GMT
Hello.

My <s:property value="myvalue" /> tag is not encoding Spanish
characters. In this case "myvalue" is a literal string from java source.

String myValue = "EspaÑa";

I have: <%@page contentType="text/xml; charset=UTF-8"
pageEncoding="UTF-8"%>

My local http client outputs: "Espa&Ntilde;a".

And: "Content-Type: text/xml;charset=UTF-8"

What am I doing wrong? 

Thanks.
Antonio.



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


Mime
View raw message