asciidoctor/asciidoctor-gradle-plugin
View on GitHubInclude with explicit encoding doesn't work
Open
#687 opened on Oct 12, 2023
help wanted
Repository metrics
- Stars
- (265 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
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").