plantuml-1.2022.5.jar: utf-8 encoding fails in embedded diagram on Windows 10

0 votes
asked May 12 in Bug by boshka (3,240 points)
edited May 12 by boshka

Please generate svg for the following code on Windows using:

java -jar plantuml-1.2022.5.jar file.puml -verbose -charset UTF-8 -tsvg

where file.puml is as follows:

@startuml

a->b: hello/привет

note right

{{

c->d: hello/привет

}}

end note

@enduml

You'll get the following diagram (note that the encoding in the embedded part is broken):

Note:

1. If you use plantuml.1.2021.12.jar, then the encoding will be ok.

2. If you use Linux the encoding will be OK both for the plantuml.1.2021.12.jar and plantuml-1.2022.5.jar

3. It also works fine on plantuml server: http://www.plantuml.com/plantuml/svg/SoWkIImgAStDuU9CrBLBibB8ICt9oTU_iFzYmuKT5pPTs7gnYOipBxyaLQ4eCpsZX8kJixeQI70cwzgbO5VCMLlBnPcQbw80qiNb06I1J0S0

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...