view bin/unicode @ 4206:ab660bc578b5

<kmc> printf \'#!/bin/sh\\n\\nexec quote fungot\' > bin/qungot && chmod +x bin/qungot
author HackBot
date Thu, 19 Dec 2013 21:07:29 +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.'