summaryrefslogtreecommitdiffstats
path: root/crypto/bin
diff options
context:
space:
mode:
authorroot <root@krebs>2011-09-26 21:37:01 +0200
committerroot <root@krebs>2011-09-26 21:37:01 +0200
commite6abbd0f0e834866920082e753f28965c07ee3c4 (patch)
treebafdafbfd6126c653f96d7194a2aab236279d9f4 /crypto/bin
parentf183a3cc4ef59668c24d4268df9690f88092b0f4 (diff)
parent1ca5b6d9500ee081e5797138e6194a06d159a8f0 (diff)
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'crypto/bin')
-rwxr-xr-xcrypto/bin/ukrepl7
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"))