#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:
parent
1adc022ab4
commit
4bdff5676d
|
@ -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)
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
┌────┐ ┌───┐
|
||||||
|
│lang│ │日本語│
|
||||||
|
└─┬──┘ └─┬─┘
|
||||||
|
│ │
|
||||||
|
│ ─────────────>│
|
||||||
|
┌─┴──┐ ┌─┴─┐
|
||||||
|
│lang│ │日本語│
|
||||||
|
└────┘ └───┘
|
||||||
|
|
Loading…
Reference in New Issue