Cannot write igraph object to file (forbidden control character error)
<p>When trying to write an <code>igraph</code> object to file, I receive the following error:</p>

<p><code>Error in .Call("R_igraph_write_graph_graphml", graph, file, as.logical(prefixAttr),  : 
  At foreign-graphml.c:1236 : Forbidden control character 0x08 found in igraph_i_xml_escape, Invalid value</code></p>

<p>I am using the basic syntax for writing <code>igraph</code> objects to file in <code>graphml</code> format:</p>

<p><code>write.graph(myGraphObject,"graph_object_to_file.graphml",format="graphml")</code></p>

<p>I have tried converting all the character vector attributes of the graph to UTF-8 using the <code>iconv</code> function, however it has not worked so far.</p>

<p>Any ideas much appreciated.</p>