-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: util-1.1.0, util-2.1.0, util-3.1.0
-
Fix Version/s: util-1.1.0, util-2.1.0, util-3.1.0
-
Component/s: Liferay Faces Util
-
Labels:None
Steps to reproduce:
- Create a JSF portlet.
- Remove content in i18n.properties file.
- Check i18n.properties file has ISO-8859 encoding (ie., in Linux use 'file' command).
- Change i18n.properties encoding from ISO-8859 to UTF-8 (by using iconv or in file properties in Eclipse).
- Add some UTF characters in that property (for example; "hola qué tal?").
- Render that property in view.xhtml file (<h:outputText value="#
{i18n['utf-character-word']}
" />
- Deploy portlet.
Expected behavior: Text should show properly.
Actual behavior: Text is showing wrong.