país --> pa\u00EDs
On 8/14/06, Jorge Vásquez <[EMAIL PROTECTED]> wrote:
I don´t know if I didn´t made myself clear but first of all the encoding
used isn´t ASCII and there´s a .properties file for Spanish in the
myfaces-example-simple-1.1.5-SNAPSHOT named: example_messages_es.properties
where there´s a localized Spanish text for each label. I think that the
problem is either related with some configuration that is missing in the
faces-config that comes with the demo files, related to the locales
supported or it can also be related to some tomcat config variable, I
already restarted tomcat placing the following line at Catalina.bat:
set CATALINA_OPTS=-Dfile.encoding=UTF-8, but the problem persists. I found
a recommendation at: http://wiki.apache.org/tomcat/Tomcat/UTF-8 but I think
that there would be no reason to add a filter, and it should work fine with
the encoding being set in each page and in the container but unfortunately
problems continue...
Again, any ideas?
Regards,
Jorge Vásquez
-----Mensaje original-----
De: Eurig Jones [mailto:[EMAIL PROTECTED]]
Enviado el: lunes, 14 de agosto de 2006 12:46
Para: MyFaces Discussion
Asunto: Re: Problem with Spanish characters in myfaces simple examples
I dont think by the way you've described is anything to do with JSF.
Have a look at the following link. You'll need to replace these
characters with the relevant codes. Outputting text with certain JSF
tags will do this for you
http://www.ascii.cl/htmlcodes.htm
Jorge Vásquez wrote:
>
> Hi,
>
> Alter deploying the myfaces examples to tomcat 5.0.28, I am getting
> strange characters for spanish "tildes".
>
> For instance, instead of "país" I get: "Pa�s". I am using firefox
> 1.5.0.6 with UTF-8 as encoding and the strange thing is that after
> checking the jsps for the examples they also have Utf-8 encoding: <%@
> page session="false" contentType="text/html;charset=utf-8"%>
>
> Any ideas on what is happening?
>
> Cheers,
>
> Jorge Vásquez
>

