Hi, you can use a filter. We successfully use
org.springframework.web.filter.CharacterEncodingFilter in our project.
Cheers, Christopher
David Delbecq schrieb:
This instruction only refers to xml charset encoding used when reading
it. Facelets does not use it as encoding for FacesContext.writer. Even
with such instruction in my xml (anyway, all my xml are already utf-8),
facelets still send the response to client in iso-8859-1 charset encoding.
Other suggestions?
En l'instant précis du 09/03/07 11:16, Roger Alix-Gaudreau s'exprimait
en ces termes:
I am using Facelets as well, and we define the encoding in the XML
prolog at the top of the layout template file, as such:
<?xml version="1.0" encoding="UTF-8"?>
Roger Alix-Gaudreau
-----Original Message-----
From: David Delbecq [mailto:[EMAIL PROTECTED]
Sent: Friday, March 09, 2007 3:44 PM
To: MyFaces Discussion
Subject: How to set response character encoding?
Hello,
i am trying to figure out how to set the response character encoding in
my jsf pages. I am using MyFaces+Facelets, the response by default seems
to be iso8859-1 and i'd like to set it to UTF-8, where do i configure
this?
Thanks