I want to write a graph G
in GML format. My node names (label in GML) contain special characters like š, č
etc. These are not replicated in the GML file when I do the following.
nx.write_gml(G, 'G.gml')
Expected output for letters šč
is šč
.
Actual output for letter šč
is šč