Mercurial > repo
changeset 10073:6ce8c59cc37e
<zgrep> fetch http://sprunge.us/IdOF
author | HackBot |
---|---|
date | Sun, 01 Jan 2017 16:24:04 +0000 |
parents | 3713b7a6920d |
children | b7ce9d2d581d |
files | IdOF |
diffstat | 1 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/IdOF Sun Jan 01 16:24:04 2017 +0000 @@ -0,0 +1,11 @@ +#!/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) +