typpo / quickchart-java

Java client for quickchart.io chart API
10 stars 1 forks source link

Encoding Issues with chart.toByteArray() and German Umlauts #2

Closed mirkofetter closed 2 years ago

mirkofetter commented 2 years ago

When i use the JAva client, to generate a chart as byte array with German Umlauts (ä,ö,ü, and also ß) the graphhic has wrong glyphs in it. When I print the URL of the same chart with chart.getUrl() and copy it into the browser, i have no issues. Is it possible to change the Encoding of the HTTP request the client uses?

typpo commented 2 years ago

Thanks for the report! I have a fix in and will close this issue once v1.1.1 is published.

typpo commented 2 years ago

Fixed by #3 and published as version 1.1.1