graphviz-java-api icon indicating copy to clipboard operation
graphviz-java-api copied to clipboard

File Encoding Problem

Open rso1 opened this issue 11 years ago • 0 comments
trafficstars

Your API uses the standard encoding of the VM, which is problematic in case the encoding is set to something not graphviz compatible (e.g. Windows encoding together with Protege). I would therefore recommend setting the coding explicitly in the function "private File writeDotSourceToFile(String str)" via Writer fout = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(temp), "UTF-8"))

rso1 avatar Dec 04 '13 16:12 rso1