koppor / plantuml

A LuaLaTeX package for PlantUML in LaTeX
https://koppor.github.io/plantuml/
LaTeX Project Public License v1.3c
55 stars 10 forks source link

Add UTF-8-Support #10

Closed HaLo1701 closed 4 years ago

HaLo1701 commented 5 years ago

Can you add UTF-8-Support in the lua-File?

You have to add the parameter -charset UTF-8 in the java-call in plantuml.lua:

local cmd = "java -jar " .. plantUmlJar .. " -charset UTF-8 -t"

I don't know, if you have to check at first, that the LaTeX-Source is in UTF-8-Mode?

Thank you very much.

koppor commented 4 years ago

Fixed by https://github.com/koppor/plantuml/pull/12