asciidoctor-gradle-plugin icon indicating copy to clipboard operation
asciidoctor-gradle-plugin copied to clipboard

Include with explicit encoding doesn't work

Open chkpnt opened this issue 2 years ago • 1 comments

I've an ISO 8859-1 encoded file, which I'm Including like this:

[source]
----
include::assets/application.properties[encoding=iso-8859-1]
----

This works fine with IntelliJ Plugin AsciiDoc v0.39.7 and on the command line with Asciidoctor v2.0.20. But it doesn't when using the Gradle plugin v3.3.2, which gives me an AsciidoctorCoreException ("Failed to load AsciiDoc document - invalid byte sequence in UTF-8").

chkpnt avatar Oct 12 '23 06:10 chkpnt