view bin/unicode @ 3705:5d6ec07e99da

<oerjan> echo test >>test; cat test
author HackBot
date Wed, 11 Sep 2013 04:51:25 +0000
parents b35a80fd71af
children 0f6dc05fb0d4
line wrap: on
line source

#!/usr/bin/env python
import sys
import unicodedata

print u"".join(map(unicodedata.lookup, sys.argv[1:])).encode("utf-8")