view bin/unicode @ 4302:4c8ac460e606

<FireFly> echo -e \'#!/bin/sh\\nrelcome | r13\' >bin/r13elcome; chmod +x bin/r13elcome
author HackBot
date Tue, 14 Jan 2014 21:03:57 +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.'