AFAIK, these are the things that are needed:
- <?xml version='1.0' encoding='iso-8859-1'?>
- <f:view encoding="iso-8859-1"/>
- <web:character-encoding-filter encoding="iso-8859-1" override-client="true" url-pattern="*.seam"/>
Though the last one may not be needed...
The problem is not iso enconding, but application/xhtml xml the content type. This issue, I think, that is something in Facelets and JSF 1.2. But the question is, where?
before <head> and after <html> in your XHTML template. Yes, it does nothing except tell the Facelets/JSf engine to generate text/html as the content type of the Faces servlet response.
First person I found that talked about the
up to date and where and that it simply terminates. I needed it desperately to solve moving from FF 2.x to Firefox 3 beta 4 and serve xhtml with svg. Needed xhtml as
... <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:rich="http://richfaces.org/rich" xmlns:a4j="http://richfaces.org/a4j" xmlns:s="http://jboss.com/products/seam/taglib"> <f:view contentType="application/xhtml+xml"/> <head> ...
This made seam 2.1.0.GA, richfaces-ui-3.1.4.GA, facelets-1.1.14, glassfish b58g work with FF 3 beta 4 where the xhtml is mixed richfaces and svg with FF 3's filter implementation.