Hi
Doing some tests I notice this param is in fact ignored. If the page does
not have the following at the begginig:
<?xml version="1.0" encoding="ISO-8859-1" ?>
The document output encoding is set as UTF-8 by default. This is true for
both myfaces and mojarra. It is easy to check, just render a page with
firefox and use firebug to check how the Content-type header looks like.
In my personal opinion, the encoding of the document takes precedence over
"contentType" or "encoding" param from f:view, but if no xml
declaration is
used (like in mojarra examples), the value from contentType must be used as
the response encoding (right now "encoding" or charset param set in
"contentType" is just ignored). The original facelets code sets encoding
always UTF-8.
regards,
Leonardo Uribe