Commit d303d1e
committed
protocol/rq: fix string decoding when using Python 3
X11 text strings are encoded with the Host Portable
Character Encoding, which means we should be using
ASCII, the same as the default with Python 2, and
not UTF-8.1 parent 36cfe94 commit d303d1e
2 files changed
+8
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
37 | 41 | | |
38 | 42 | | |
39 | 43 | | |
| |||
424 | 428 | | |
425 | 429 | | |
426 | 430 | | |
427 | | - | |
| 431 | + | |
428 | 432 | | |
429 | 433 | | |
430 | 434 | | |
431 | 435 | | |
432 | 436 | | |
433 | 437 | | |
434 | | - | |
435 | | - | |
436 | | - | |
437 | | - | |
| 438 | + | |
438 | 439 | | |
439 | 440 | | |
440 | 441 | | |
| |||
903 | 904 | | |
904 | 905 | | |
905 | 906 | | |
906 | | - | |
| 907 | + | |
907 | 908 | | |
908 | 909 | | |
909 | 910 | | |
| |||
0 commit comments