jamisonjiang / graph-support

Java re-implementation of tiny graphviz
Apache License 2.0
24 stars 7 forks source link

Update Graphviz.java #5

Closed MarkOliverGueld closed 5 months ago

MarkOliverGueld commented 5 months ago

SvgDrawBoard.graphResource() generates UTF-8 encoded binary data, while Graphviz.toSvgStr() did not specify a charset and therefore used the system charset, which might destroy non US-ASCII characters.

thanks for your great work!

jamisonjiang commented 5 months ago

Thanks for your PR and I will commit this change to next release and already merge to main