Bug#855262: Set System Encoding as UTF-8

tony mancill tmancill at debian.org
Sun Feb 19 01:29:59 UTC 2017


On Thu, Feb 16, 2017 at 03:28:20PM +0800, 殷啟聰 wrote:
> Package: gradle-debian-helper
> Version: 1.5.1
> Severity: wishlist
> 
> On Debian Buildd the default encoding on Java is usually not UTF-8,
> which results in compilation failure on source files containing CJK
> symbols or even a "©".
> 
> Currently we need to add `-Dfile.encoding=UTF-8` to
> `override_dh_auto_build`. Why not let gradle-debian-helper do it?
> 
> Looks like javadoc does not recognize this variable, we may need to
> configure it in the plugin as well.

Thank you for the bug report and +1 for the idea of using a consistent
default encoding for all of the tools in the Java toolchain.  This has
bitten us more than once.

(And time for me to start learning how to hack on g-d-h.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20170218/6c326a92/attachment.sig>


More information about the pkg-java-maintainers mailing list