[
http://jira.codehaus.org/browse/MSITE-287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=137770#action_137770
]
Benjamin Bentmann commented on MSITE-287:
-----------------------------------------
If I may change my mind: Go for option 3, i.e. require all properties to be in
ASCII (in particular, don't mention ISO-8859-1 if extended characters are not
allowed, this would add confusion). Contributors can create files using their
platform encoding and simply pass them through {{native2ascii}} before
submitting.
I previously misunderstood the reason that caused damage to the files edited by
Vincent. Files were changed by using some plugin/editor, that wasn't properly
configured. So far, the Maven community doesn't seem to have any convention
about file encoding so I believe that using ASCII is simply the most robust
choice to prevent further accidents to the resource bundles.
> Clarify/fix documentation about encoding for translated resource bundles.
> -------------------------------------------------------------------------
>
> Key: MSITE-287
> URL: http://jira.codehaus.org/browse/MSITE-287
> Project: Maven 2.x Site Plugin
> Issue Type: Improvement
> Affects Versions: 2.0-beta-6
> Reporter: Benjamin Bentmann
> Assignee: Dennis Lundberg
> Priority: Minor
>
> According to http://maven.apache.org/plugins/maven-site-plugin/i18n.html
> translators are expected to provide their properties files in UTF-8 encoding.
> However, the JRE reads properties files using ISO-8859-1 encoding (see [class
> javadoc for
> PropertyResourceBundle|http://java.sun.com/javase/6/docs/api/java/util/PropertyResourceBundle.html]).
> Either the documentation should be fixed to state ISO-8859-1 or it should be
> made clear why Maven requires another encoding than usual.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira