Documentation bug concerning SVG generation in Java with Umlaute

0 votes
asked Mar 27, 2015 in Bug by boessu (160 points)

There is a documentation bug in calling PlantUML in Java and generate SVG.

The bug is on the last line. There should be a small supplement:

// The XML is stored into svg
final String svg = new String(os.toByteArray()Charset.forName("UTF-8"));

Please correct this for all SVG lovers who like to use UTF characters and not only ASCII. Thanks.

1 Answer

0 votes
answered Apr 20, 2015 by plantuml (208,860 points)
Thanks for the feedback.

The doc has been updated.
...