Bug#866845: libidw-java FTBFS: PropertyMapImpl.java:383: error: unmappable character for encoding ASCII

Emmanuel Bourg ebourg at apache.org
Mon Jul 3 08:52:21 UTC 2017


Le 3/07/2017 à 10:02, Markus Koschany a écrit :

> shouldn't we be more consistent with the other helpers and choose UTF-8
> too? I'm not sure anymore which helper has already been fixed (I
> remember Kai-Chung sent in a patch for Gradle). I'm glad to help with
> this if there is more work required.

maven-debian-helper at least doesn't have a default encoding, each
project defines its encoding by setting the project.build.sourceEncoding
property.

I'd prefer using UTF-8 too, but it will trigger unmappable character
errors on many packages (it does with libidw-java for example). Using
ISO-8859-1 is roughly equivalent to the behavior we had before changing
the language level to 1.7. Since this mostly affects comments in the
code it isn't very important.

I'm fine if someone wants to use UTF-8, but he has to be prepared to
also fix the packages built with jh_build.

Emmanuel Bourg



More information about the pkg-java-maintainers mailing list