Mercurial > repo
view paste/paste.25547 @ 3900:b1b0dcb5ad5e
<fizzie> printf \'%s\\n\' \'#!/usr/bin/env python\' \'import sys\' \'import unicodedata\' \'print u" ".join("[U+{0:04x} {1}]".format(ord(c), unicodedata.name(c, "DUNNO")) for c in " ".join(sys.argv[1:]).decode("utf-8")).encode("utf-8")\' > bin/unidecode
author | HackBot |
---|---|
date | Fri, 11 Oct 2013 13:57:18 +0000 |
parents | 8153b3c11e8e |
children |
line wrap: on
line source
2012-07-17.txt:08:28:30: <mroman> Which would make Beijing -> Pei-ching 2012-07-17.txt:08:28:45: <mroman> and I could imagine germanizing Pei-ching du Peking :) 2013-06-06.txt:02:42:00: <hagb4rd> i'd like to somehow implement a little tool throwing 'i-ching' hexagrams 2013-06-08.txt:11:45:14: <hagb4rd> `pastelog i-ching