Mercurial > repo
view bin/unidecode @ 3913:fcfc15863c88
<oerjan> pastelogs stuntaneous
author | HackBot |
---|---|
date | Wed, 16 Oct 2013 19:31:36 +0000 |
parents | b538b5f005ab |
children |
line wrap: on
line source
#!/usr/bin/env python import sys import unicodedata print u" ".join("[U+{0:04X} {1}]".format(ord(c), unicodedata.name(c, "DUNNO")) for c in " ".join(sys.argv[1:]).decode("utf-8")).encode("utf-8")