Skip to content

protocol/rq: fix string decoding#111

Merged
vasily-v-ryabov merged 1 commit intopython-xlib:masterfrom
benoit-pierre:fix_string_decoding,_again
Mar 19, 2018
Merged

protocol/rq: fix string decoding#111
vasily-v-ryabov merged 1 commit intopython-xlib:masterfrom
benoit-pierre:fix_string_decoding,_again

Conversation

@benoit-pierre
Copy link
Member

Looks like I was wrong in #92: using ASCII can cause issues (see opensteno/plover#919). As it turns out character strings should be decoded using Latin-1, see for example: https://www.x.org/releases/X11R7.7/doc/xproto/x11protocol.html#requests:InternAtom.

As it turns out, character strings should be decoded using Latin-1, see for example:
https://www.x.org/releases/X11R7.7/doc/xproto/x11protocol.html#requests:InternAtom
@codecov-io
Copy link

codecov-io commented Mar 17, 2018

Codecov Report

Merging #111 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master     #111   +/-   ##
=======================================
  Coverage   81.36%   81.36%           
=======================================
  Files          38       38           
  Lines        4417     4417           
=======================================
  Hits         3594     3594           
  Misses        823      823

@vasily-v-ryabov vasily-v-ryabov merged commit 78d0c91 into python-xlib:master Mar 19, 2018
@benoit-pierre benoit-pierre deleted the fix_string_decoding,_again branch March 20, 2018 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants