asciidoctor-diagram: ditaa and plantuml error
asciidoctor-diagram 1.5.1 Asciidoctor 1.5.4 Ruby 2.2.5 on 64-bit Cygwin
ditaa and plantuml diagram generate an error: asciidoctor-diagram: ERROR: Failed to generate image: invalid byte sequence in UTF-8
.
For instance
[ditaa]
----
+-------------+
| Asciidoctor |-------+
| Diagram | |
+-------------+ | PNG out
^ |
| ditaa in |
| v
+--------+ +--------+----+ /----------------\
| | --+ Asciidoctor +--> | |
| Text | +-------------+ |Beautiful output|
|Document| | !magic! | | |
| {d}| | | | |
+---+----+ +-------------+ \----------------/
: ^
| Lots of work |
+-----------------------------------+
----
or
[plantuml]
--
class BlockProcessor
class PlantUmlBlock
BlockProcessor <|-- PlantUmlBlock
--
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 36 (26 by maintainers)
Commits related to this issue
- #124 Perform cygwin to windows path conversion on path to graphviz when generating plantuml diagrams — committed to pepijnve/asciidoctor-diagram by pepijnve 8 years ago
Good idea. I’ll add that right here https://github.com/asciidoctor/asciidoctor-diagram/blob/master/lib/asciidoctor-diagram/extensions.rb#L118