Skip to content

Commit 78d0c91

Browse files
Merge pull request #111 from benoit-pierre/fix_string_decoding,_again
protocol/rq: fix string decoding
2 parents 402730b + 31e6abf commit 78d0c91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Xlib/protocol/rq.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636

3737
def decode_string(bs):
38-
return bs.decode('ascii')
38+
return bs.decode('latin1')
3939

4040
if PY3:
4141
def encode_array(a):

0 commit comments

Comments
 (0)