We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a261016 commit 070e60eCopy full SHA for 070e60e
1 file changed
nrepl/bencode.py
@@ -81,8 +81,7 @@ def _read_datum (s):
81
82
def _write_datum (x, out):
83
if isinstance(x, string_types):
84
- # I don't see the need, all tests works fine.
85
- #x = x.encode("UTF-8")
+ x = x.encode("UTF-8")
86
out.write(str(len(x)))
87
out.write(":")
88
out.write(x)
0 commit comments