|
||||||||
This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira |
- [mojo-dev] [jira] (MLICENSE-91) .property files mangled... Tony Chemit (JIRA)
- [mojo-dev] [jira] (MLICENSE-91) .property files ma... JIRA
- [mojo-dev] [jira] (MLICENSE-91) .property files ma... Tony Chemit (JIRA)
- [mojo-dev] [jira] (MLICENSE-91) .property files ma... Tony Chemit (JIRA)
- [mojo-dev] [jira] (MLICENSE-91) .property files ma... Tony Chemit (JIRA)
It depends on how you store and load the properties from the file, Tony.
As quite a lot of folks use the load method from the Properties class (really bad practise, but frequently used),
and that load method assumes ISO-8859-1 encoding (... interesting design choice by Sun once upon a time...), I think
we should be very clear in our documentation that .property files should be read using a UTF-8 compliant method.
There are other methods, of course, but to my knowledge quite some property configuration loaders simply use the
method linked to below. (Yielding the broken behaviour illustrated here).
http://docs.oracle.com/javase/7/docs/api/java/util/Properties.html#load%28java.io.InputStream%29