From b0f5b4f9bc69949b6d401654888701cf4590984f Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 30 Oct 2012 00:59:31 +0100 Subject: [PATCH] Update for an Issue #225 --- lib/core/convert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/convert.py b/lib/core/convert.py index 2b1deacc3..47368e0dd 100644 --- a/lib/core/convert.py +++ b/lib/core/convert.py @@ -38,7 +38,7 @@ def hexdecode(value): return (value[2:] if value.startswith("0x") else value).decode("hex") def hexencode(value): - return value.encode("hex") + return utf8encode(value).encode("hex") def md5hash(value): if sys.modules.has_key('hashlib'):