Mercurial > repo
view bin/unicode @ 4293:4ce41da1c7d7
<oerjan> learn Nooodles are the invention of the Chinese. They were brought to Europe by Marco Polo, a distant ancestor of Taneb.
author | HackBot |
---|---|
date | Tue, 14 Jan 2014 01:16:14 +0000 |
parents | 49ab5b2e2ebf |
children | ab2d8a9d1432 |
line wrap: on
line source
#!/usr/bin/env python # -*- encoding: utf-8 -*- import sys import unicodedata try: print u''.join(map(unicodedata.lookup, sys.argv[1:])).encode('utf-8') except KeyError: print u'Unknown character.'