We have sites in countries where the local language uses non-8859-1
characters, and the local people would like to write interpolated
externalized property values in UTF-8.  Understandably, they would
rather not resort to nearly-unintelligible escape sequences.  Is there
some way to get <build><filters> or a <build><filters><filter> to use
UTF-8 encoding when reading a serialized Properties?

Our projects have long used
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> but
it has no effect on this.  It appears that this only applies to files
*read by Maven*, and that Maven understandably uses
java.util.Properties.load(), which takes no notice of POM values, to
read .properties files.

-- 
Mark H. Wood, Lead System Programmer   [email protected]
Machines should not be friendly.  Machines should be obedient.

Attachment: signature.asc
Description: Digital signature

Reply via email to