#1022881 swt4-gtk FTBFS due to default encoding

#1022881#5
Date:
2022-10-27 09:55:45 UTC
From:
To:
Dear Maintainer,

swt4-gtk fails to build with the below error,
https://tests.reproducible-builds.org/debian/rb-pkg/bullseye/amd64/swt4-gtk.html

copy.translationfiles:
    [javac] Compiling 436 source files to /build/swt4-gtk-4.17.0/bundles/org.eclipse.swt/temp.folder/@dot.bin
    [javac] /build/swt4-gtk-4.17.0/bundles/org.eclipse.swt/temp.folder/@dot.src/org/eclipse/swt/layout/FillLayout.java:13: error: unmappable character (0xC3) for encoding US-ASCII
    [javac]  *     Christoph L??ubrich - Bug 513185
    [javac]                   ^
    [javac] /build/swt4-gtk-4.17.0/bundles/org.eclipse.swt/temp.folder/@dot.src/org/eclipse/swt/layout/FillLayout.java:13: error: unmappable character (0xA4) for encoding US-ASCII
    [javac]  *     Christoph L??ubrich - Bug 513185
    [javac]                    ^
    [javac] 2 errors

BUILD FAILED
/build/swt4-gtk-4.17.0/bundles/org.eclipse.swt/buildFragment.xml:88: The following error occurred while executing this line:
/build/swt4-gtk-4.17.0/bundles/org.eclipse.swt/buildFragment.xml:61: Compile failed; see the compiler error output for details.

The default encoding is US-ASCII. Some packages contain characters
that cannot be displayed with the default encoding and thus will
cause build failures. Set encoding to UTF-8 to fix this error.

I'm attaching a patch which includes the fix. Please could you review it.

Thank you.

Regards,
Vignesh