Fix for server names with foreign characters.

This commit is contained in:
Alvaro Carroz 2016-09-04 13:11:44 -04:00
parent 7b09d8759f
commit aa57cce07d
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ except ImportError:
for i, arg in enumerate(args):
if i:
write(sep)
write(arg)
write(arg.encode('utf-8'))
write(end)
else:
print_ = getattr(builtins, 'print')