Re: Force encoding when using the asciidoctor maven plugin on windows
Posted by maxmil on Apr 08, 2014; 8:13am
URL: https://discuss.asciidoctor.org/Force-encoding-when-using-the-asciidoctor-maven-plugin-on-windows-tp1669p1674.html
We have solved this by editing the asciidoctor sources in the asciidoctor-java-integration jar, forcing the encoding in gems/asciidoctor-0.1.4/lib/asciidoctor.rb.
Encoding.default_external = Encoding::UTF_8
Whilst not an elegant solution it works.