Support UTF-8 encoded property files, allow caching of properties
-----------------------------------------------------------------

         Key: MYFACES-230
         URL: http://issues.apache.org/jira/browse/MYFACES-230
     Project: MyFaces
        Type: Improvement
    Versions: Nightly Build    
    Reporter: Kalle Korhonen
    Priority: Minor


Struts supports UTF-8 encoded property files and caching of property values 
with its PropertyMessageResources class. MyFaces uses standard Java 
ResourceBundle and its PropertyResourceBundle, which only allows Latin-1 
encoded property files. Adding a ResourceBundle wrapper that allows UTF-8 
encoded property files doesn't break anything since all UTF-8 encoded single 
byte characters are in the same positions as in Latin-1 encoding. I'll add a 
patch to this bug that contains a ResourceBundle wrapper and necessary changes 
to take it into use. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to