maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hervé Boutemy (JIRA) <j...@apache.org>
Subject [jira] [Comment Edited] (MSITE-326) Make file encoding default to platform encoding
Date Sat, 02 Jan 2016 12:44:39 GMT

    [ https://issues.apache.org/jira/browse/MSITE-326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14451846#comment-14451846
] 

Hervé Boutemy edited comment on MSITE-326 at 1/2/16 12:44 PM:
--------------------------------------------------------------

bq. If someone sets input encoding, I'd presume it would apply to all input in the project,
not just Java files.
that's what's done: {{project.build.sourceEncoding}} is used *when set*: see MSITE-314

the discrepency is just *when this property is not set*: java files are considered as platform
encoding and Doxia source files are considered ISO-8859-1


was (Author: hboutemy):
bq. If someone sets input encoding, I'd presume it would apply to all input in the project,
not just Java files.
that's what's done: {{project.build.sourceEncoding}} is used *when set*

the discrepency is just *when this property is not set*: java files are considered as platform
encoding and Doxia source files are considered ISO-8859-1

> Make file encoding default to platform encoding
> -----------------------------------------------
>
>                 Key: MSITE-326
>                 URL: https://issues.apache.org/jira/browse/MSITE-326
>             Project: Maven Site Plugin
>          Issue Type: Wish
>          Components: encoding
>    Affects Versions: 2.0-beta-5, 2.0-beta-6
>            Reporter: Hervé Boutemy
>             Fix For: 3.5
>
>
> According to the [user poll about the default file encoding|http://www.nabble.com/-POLL--Default-Value-for-File-Encoding-td16958386.html],
the inputEncoding should default to the platform default encoding instead of Latin-1. Since
that would be a breaking change it is left to users to vote for this issue if they feelt it's
worth to have it like that.
> If the change is made, we should have the plugin output a warning when using the platform
encoding.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message