Bug#855262: Set System Encoding as UTF-8
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.
Bug#855262: Set System Encoding as UTF-8
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.) signature.asc Description: PGP signature
Bug#855262: Set System Encoding as UTF-8
Le 16/02/2017 à 08:28, 殷啟聰 a écrit : > 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? Good idea, feel free to commit the modification. Emmanuel Bourg