view bin/ümläüt @ 10074:b7ce9d2d581d

<zgrep> ` mv IdOF bin/\xc3\xbcml\xc3\xa4\xc3\xbct
author HackBot
date Sun, 01 Jan 2017 16:24:18 +0000
parents 602a72182b60
children efeac1b5074e
line wrap: on
line source

#!/usr/bin/env python
import sys
if len(sys.argv) != 2:
    print('Incorrect usage.')
    exit(1)
o = u"".encode("utf-8")
for c in sys.argv[1]:
    o += c.encode("utf-8")
    o += u"\u0308".encode("utf-8")
print(o)