You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally reported by: Guillem Vicens (Bitbucket: gvicens, GitHub: gvicens)
Hi George,
in R when exporting with write.gexf UTF-8 encoding for special characters (accents and the like) seem to get lost. As it seems the export is done to UTF-8 without BOM.
I have reproduced this by doing following steps:
loading the graph data from 2 .CSV encoded in UTF-8 .1.
Generate a graph by using the igraph package. This graph is used in my code to perform several calculations
Generate the nodes and edges data frames. Up until this point all is correctly encoded in UTF-8.
Use write.gexf to generate the .GEXF file. At this point encoding gets lost.
I also tried using both Encoding(x) and enc2utf8(x) with no success at all.
I have attached a minimal example to reproduce the problem. Session info is also included.
Originally reported by: Guillem Vicens (Bitbucket: gvicens, GitHub: gvicens)
Hi George,
in R when exporting with write.gexf UTF-8 encoding for special characters (accents and the like) seem to get lost. As it seems the export is done to UTF-8 without BOM.
I have reproduced this by doing following steps:
I also tried using both Encoding(x) and enc2utf8(x) with no success at all.
I have attached a minimal example to reproduce the problem. Session info is also included.
Thanks for any help!
The text was updated successfully, but these errors were encountered: