#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 06a12c3d16
commit b5e880790b
No known key found for this signature in database
GPG Key ID: BA5D71E6F3C580C1
3 changed files with 8 additions and 7 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)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

View File

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