From bc76c14000fb81236fe1a272102c37181c4427eb Mon Sep 17 00:00:00 2001 From: overflowerror Date: Sun, 19 Nov 2017 02:53:30 +0100 Subject: [PATCH] fix character encoding --- misc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc.sh b/misc.sh index fc852ce..811d144 100644 --- a/misc.sh +++ b/misc.sh @@ -5,5 +5,5 @@ urlencode() { } urldecode() { - python -c "import urllib, sys; print urllib.unquote_plus(sys.argv[1]).decode('utf8')" "$1" + python -c "import urllib, sys; print urllib.unquote_plus(sys.argv[1])" "$1" }