Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • I'm using this code github.com/sonicrules1234/pyipinfodb/blob/master/pyipinfodb.py Commented Apr 22, 2012 at 2:04
  • 1
    There is no such thing as "plaintext". Commented Apr 22, 2012 at 2:07
  • 2
    You don't have to do anything. It's already decoded... Try print data['City'] Commented Apr 22, 2012 at 2:07
  • As you see in the post the result of print data['City'] is u'Ciri\xe8' Commented Apr 22, 2012 at 2:10
  • 1
    No, you just typed data['City']. Try print data['City']. For me, in iPython, that makes a difference. Commented Apr 22, 2012 at 2:11