maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anders Hammar (JIRA)" <>
Subject [jira] (MRESOURCES-171) ISO8859-1 properties files get changed into UTF-8 when filtered
Date Tue, 04 Dec 2012 13:42:13 GMT


Anders Hammar commented on MRESOURCES-171:

Is it reasonable to expect that a filtered file that does not have any properties to filter
should be identical to that file unfiltered?

Not necessarily. The filtering process will take place regardless and it is a string operation
which will use the encoding configured for the plugin.
> ISO8859-1 properties files get changed into UTF-8 when filtered
> ---------------------------------------------------------------
>                 Key: MRESOURCES-171
>                 URL:
>             Project: Maven 2.x Resources Plugin
>          Issue Type: Bug
>          Components: filtering
>            Reporter: Alex Collins
>            Priority: Minor
>         Attachments:
> Create:
> src/main/resources/
> And add a ISO8859-1 character that is not ASCII or UTF-8, do not use \uXXXX formatting.
> When adding this line:
> <resource><directory>src/main/resources</directory><filtering>true</filtering></resource>
> Expected:
> ISO8859-1 encoded file in jar.
> Actual:
> UTF-8 encoded file in jar.
> ---
> If there are any property files (which can only be ISO8859-1) they appear to be converted
into UTF-8 in the jar.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message