Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include with explicit encoding doesn't work #687

Open
chkpnt opened this issue Oct 12, 2023 · 0 comments
Open

Include with explicit encoding doesn't work #687

chkpnt opened this issue Oct 12, 2023 · 0 comments

Comments

@chkpnt
Copy link

chkpnt commented Oct 12, 2023

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").

@ysb33r ysb33r modified the milestone: 4.0.0 Dec 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants