diff --git a/plugins/dotnetpad.py b/plugins/dotnetpad.py index 95c7fd5..eb302b2 100644 --- a/plugins/dotnetpad.py +++ b/plugins/dotnetpad.py @@ -11,6 +11,7 @@ from util import hook def dotnetpad(lang, code): "Posts a provided snippet of code in a provided langugage to dotnetpad.net" + code = code.encode('utf8') params = urllib.urlencode({'language': lang, 'code': code}) headers = {"Content-type": "application/x-www-form-urlencoded",