[Top][All Lists]

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

Re: [igraph] python igraph, unicode and graphml

From: Davide Setti
Subject: Re: [igraph] python igraph, unicode and graphml
Date: Fri, 26 Jun 2009 17:50:14 +0100

On Fri, Jun 26, 2009 at 5:33 PM, Tamas Nepusz<address@hidden> wrote:
> Well, we have never tried it. GraphML should be able to support Unicode in
> theory, but maybe igraph's Python attribute handler doesn't. I will try to
> investigate the issue and come up with a patch early next week if that suits
> you. In the meanwhile, I would try to convert all the labels to standard
> Python strings using UTF-8 encoding and then convert them back later after
> loading the graphs again. I think that should work.

I've just seen that I have other problems (e.g.
g.vs['login'].index(speaker)) with unicode labels. Now i'm converting
all the labels to utf-8 and it seems to work fine.

Thank you

Davide Setti
blog: http://blog.flatlandia.eu
home: http://www.flatlandia.eu

reply via email to

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