[GRADLE-2558] Maven POMs are written with platform encoding, not always UTF-8. Created: 16/Nov/12  Updated: 04/Jan/13  Resolved: 26/Nov/12

Status: Resolved
Project: Gradle
Affects Version/s: 1.3-rc-1, 1.3
Fix Version/s: 1.4-rc-1

Type: Bug
Reporter: Luke Daley Assignee: Luke Daley
Resolution: Fixed Votes: 0

Attachments: File build.gradle    

 Comments   
Comment by Francois Valdy [ 04/Dec/12 ]

Hi,

I think I got hit by this issue while upgrading to 1.3 , not sure I agree with the 'minor' qualifier.

The attached build file fails with 1.3, but works fine with 1.2.

Impact is that I can't 'install' gradle artifacts (because the generated POM is invalid).

The error I get:
com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 1 of 1-byte UTF-8 sequence.

My platform encoding is 'Cp1252', but changing it to UTF-8 seem to have no effect.

Thanks.

Generated at Wed Jun 30 12:25:12 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.