diff options
author | root <root@krebs> | 2011-09-26 21:37:01 +0200 |
---|---|---|
committer | root <root@krebs> | 2011-09-26 21:37:01 +0200 |
commit | e6abbd0f0e834866920082e753f28965c07ee3c4 (patch) | |
tree | bafdafbfd6126c653f96d7194a2aab236279d9f4 /crypto/bin | |
parent | f183a3cc4ef59668c24d4268df9690f88092b0f4 (diff) | |
parent | 1ca5b6d9500ee081e5797138e6194a06d159a8f0 (diff) |
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'crypto/bin')
-rwxr-xr-x | crypto/bin/ukrepl | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/crypto/bin/ukrepl b/crypto/bin/ukrepl index b3b25db9..2dfaabc4 100755 --- a/crypto/bin/ukrepl +++ b/crypto/bin/ukrepl @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 # -*- coding: utf-8 -*- import sys @@ -98,4 +98,7 @@ for line in sys.stdin: else: print "unknown mode %c" % mode helpme() - print char, + try: + sys.stdout.write(char) + except: + sys.stdout.write(char.encode("utf-8")) |