1
0
Fork 0

#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-command
,@plantuml-java-args ,@plantuml-java-args
(expand-file-name plantuml-jar-path) (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) (defun plantuml-preview-string (prefix string)
"Preview diagram from PlantUML sources (as STRING), using prefix (as PREFIX) "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│ │日本語│
└─┬─┘ └────┘ └─┬─┘ └─┬─┘
│ │
│────────-----──>│ │ ─────────────>│
┌─┴─┐ ┌────┐ ┌─┴─┐ ┌─┴─┐
│lang│ │日本語│ │lang│ │日本語│
└────┘ └──────┘ └────┘ └───┘