Mercurial > repo
view bin/unicode @ 3968:e82654a7f372
<ais523\unfoog> addquote <kmc> Sgeo: oh yeah those animated characters were built into the operating system and there was an API for them
author | HackBot |
---|---|
date | Fri, 01 Nov 2013 03:30:15 +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.'