changeset 3896:53c912731c30

<fizzie> printf \'%s\\n\' \'#!/usr/bin/env python\' \'import sys\' \'import unicodedata\' \'print u" ".join("[{0}]".format(unicodedata.name(c, "DUNNO")) for c in sys.argv[1:].decode("utf-8")).encode("utf-8")\' > bin/unidecode
author HackBot
date Fri, 11 Oct 2013 13:52:35 +0000
parents 7003033326b8
children 441298097753
files bin/unidecode
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bin/unidecode	Fri Oct 11 13:52:35 2013 +0000
@@ -0,0 +1,4 @@
+#!/usr/bin/env python
+import sys
+import unicodedata
+print u" ".join("[{0}]".format(unicodedata.name(c, "DUNNO")) for c in sys.argv[1:].decode("utf-8")).encode("utf-8")