igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] python igraph, unicode and graphml


From: Gábor Csárdi
Subject: Re: [igraph] python igraph, unicode and graphml
Date: Fri, 26 Jun 2009 18:33:42 +0200

Davide,

seems to be Python-specific, at least

> library(igraph)
> g <- graph.ring(5)
> V(g)$foo <- "árvíztűrő tükörfúrógép"
> write.graph(g, "/tmp/test.graphml", format="graphml")
> Encoding(V(g)$foo)
[1] "UTF-8" "UTF-8" "UTF-8" "UTF-8" "UTF-8"

works fine from R. FYI.

Best,
G.

On Fri, Jun 26, 2009 at 6:23 PM, Davide Setti<address@hidden> wrote:
> Hi all,
> every time i try to save a graph (containing nodes with unicode
> attributes) to a graphml(z) or dot i get a segmentation fault.
>
> I'm using igraph from trunk (a few days ago revision). Do this formats
> support unicode?
>
> (Everything works if I convert the labels to latin-1)
>
> Thanks
> --
>
> Davide Setti
> blog: http://blog.flatlandia.eu
> home: http://www.flatlandia.eu
>
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/igraph-help
>



-- 
Gabor Csardi <address@hidden>     UNIL DGM




reply via email to

[Prev in Thread] Current Thread [Next in Thread]