Fix for server names with foreign characters.
This commit is contained in:
parent
7b09d8759f
commit
aa57cce07d
|
@ -143,7 +143,7 @@ except ImportError:
|
||||||
for i, arg in enumerate(args):
|
for i, arg in enumerate(args):
|
||||||
if i:
|
if i:
|
||||||
write(sep)
|
write(sep)
|
||||||
write(arg)
|
write(arg.encode('utf-8'))
|
||||||
write(end)
|
write(end)
|
||||||
else:
|
else:
|
||||||
print_ = getattr(builtins, 'print')
|
print_ = getattr(builtins, 'print')
|
||||||
|
|
Loading…
Reference in New Issue