Invalid output text in sub-diagram when local compile to SVG

0 votes
asked Sep 1, 2022 in Bug by dd (160 points)

Hi,

When I localy compile "test.puml" (UTF-8 encoding) file to SVG, I get incorrect text in sub-diagram.

test.puml

@startuml test
:Text Фраза
{{
:Text Фраза;
}}
;
@enduml

D:\jdk-17.0.4.1\bin\java.exe -jar plantuml-1.2022.7.jar -charset UTF-8 -tsvg -o . test.puml

SVG:

But when I localy compile "test.puml" (UTF-8 encoding) file to PNG, I get correct text in sub-diagram.

D:\jdk-17.0.4.1\bin\java.exe -jar plantuml-1.2022.7.jar -charset UTF-8 -tpng -o . test.puml

PNG:

Also if use PlantUML Server for SVG, the result is correct.

http://www.plantuml.com/plantuml/svg/SoWkIImgAStDKIX9BIxXuh8AIQqeKRYmv6B3XGqNjb_Om5LTZI5cpLLRosNDnUMGcfS2rCa50000

What could be the reason for incorrect text in sub-diagram when local compilation to SVG?

Best regards,
dd

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.
...