mahmud83 / maven-android-plugin

Automatically exported from code.google.com/p/maven-android-plugin
0 stars 0 forks source link

manifest-update changes encoding to Latin-1 #453

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a UTF-8 encoded AndroidManifest.xml.
2. Setup Maven build to use UTF-8 for all files.
3. Add a comment to a Manifest file containing characters not representable by 
Latin-1
4. Build

What is the expected output?

The comment in the AndroidManifest.xml is unchanged.

What do you see instead?

Comment it transcoded to Latin-1, characters nor representable by utf-8 are 
replaced by 0x96. Compile failed with “[ERROR] error: Unexpected error. 
Please report an issue on AndroidAnnotations, with the following content: 
java.lang.RuntimeException: 
com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceExcep
tion: Ung�ltiges Byte 1 von 1-Byte-UTF-8-Sequenz.” 

What version of maven-android-plugin are you using?

3.8.2

What are the complete output lines of "mvn -version" on your machine?

Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17 
17:22:22+0200)
Maven home: C:\opt\apache\maven\3.1.1
Java version: 1.7.0_45, vendor: Oracle Corporation
Java home: C:\opt\Java\jdk\1.7.0\jre
Default locale: de_CH, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"

Original issue reported on code.google.com by Martin.K...@gmail.com on 14 Mar 2014 at 8:17

GoogleCodeExporter commented 9 years ago
I doubt this is a problem with the android-maven-plugin. It is more likely a 
problem with aapt.

But give me a link to a failing project and I will test it out.

Original comment by william....@xandar.com.au on 14 Mar 2014 at 9:22

GoogleCodeExporter commented 9 years ago
Martin, got a project for me?

Original comment by william....@xandar.com.au on 14 Mar 2014 at 9:20

GoogleCodeExporter commented 9 years ago
We are no longer using the issue tracking system on Google Code. Please refile 
this issue on https://github.com/jayway/maven-android-plugin/issues if you 
still have this problem with the latest release of the Android Maven Plugin

Original comment by mosa...@gmail.com on 19 May 2014 at 4:20