#50 use UTF-8 in `start-process`; test against a txt file generated by PlantUML instead of a hand-made one

This commit is contained in:
Carlo Sciolla 2016-12-25 19:31:01 +01:00
parent 1adc022ab4
commit 4bdff5676d
No known key found for this signature in database
GPG Key ID: BA5D71E6F3C580C1
2 changed files with 10 additions and 1 deletions

View File

@ -222,7 +222,7 @@ default output type for new buffers."
plantuml-java-command
,@plantuml-java-args
(expand-file-name plantuml-jar-path)
(plantuml-output-type-opt) "-p"))
(plantuml-output-type-opt) "-charset" "UTF-8" "-p"))
(defun plantuml-preview-string (prefix string)
"Preview diagram from PlantUML sources (as STRING), using prefix (as PREFIX)

View File

@ -0,0 +1,9 @@
┌────┐ ┌───┐
│lang│ │日本語│
└─┬──┘ └─┬─┘
│ │
│ ─────────────>│
┌─┴──┐ ┌─┴─┐
│lang│ │日本語│
└────┘ └───┘