webtier@glassfish.java.net

Re: Different default character encoding type in Mojarra ...

From: <forums_at_java.net>
Date: Tue, 17 Dec 2013 03:03:17 -0600 (CST)

You are right, Somewhere between Mojarra versions 2.1.6 and 2.1.26 the
default encoding for JSF view was changed from ISO-8859-1' to 'UTF-8'. see:
public static final String CHAR_ENCODING = "ISO-8859-1"; public static final
String CHAR_ENCODING = "UTF-8"; in com.sun.faces.RIConstants.java the remedy
for that is - explicitly set the encoding in the f:view tag: **

--
[Message sent by forum member 'softfact']
View Post: http://forums.java.net/node/899974