fix .cs/.fs unicode handling

This commit is contained in:
Ryan Hitchman 2009-12-22 19:11:12 -07:00
parent 81ca14fcf0
commit 9c43856c87
1 changed files with 1 additions and 0 deletions

View File

@ -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",