New! Render PlantUML diagrams directly inside GitHub
with our official browser extension —
No server. No tokens. No tracking. Zero permissions but clipboard. —
Try it out and let us know what you think!
Unicode
Examples
Charset
The default charset used when reading the text files containing the UML text description is system dependent.
Normally, it should just be fine, but in some case, you may want to the use another charset. For example, with the command line:
java -jar plantuml.jar -charset UTF-8 files.txt
Or, with the ant task:
<!-- Put images in c:/images directory -->
<target name="main">
<plantuml dir="./src" charset="UTF-8" />
Depending of your Java installation, the following charset should be available:
ISO-8859-1, UTF-8, UTF-16BE, UTF-16LE, UTF-16.
Using Unicode Character on PlantUML
On PlantUML diagram, you can integrate:
- Special characters using
&#XXXX;or<U+XXXX>form; - Emoji using
<:XXXXX:>or<:NameOfEmoji:>form.