graphviz-java-api
graphviz-java-api copied to clipboard
File Encoding Problem
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"))