packetHelper is not able to process UTF-8 strings #29

Closed
opened 2020-11-26 16:53:59 +00:00 by tom5079 · 1 comment
tom5079 commented 2020-11-26 16:53:59 +00:00 (Migrated from zxq.co)

Currently packetHelper is designed to handle only latin-1 encoded strings, but actually osu uses UTF-8 encoding.
I can't create pull request for some reason so I'll attach code where I fixed to get it work with UTF-8.
https://www.diffchecker.com/4y2QV79j

Currently packetHelper is designed to handle only latin-1 encoded strings, but actually osu uses UTF-8 encoding. I can't create pull request for some reason so I'll attach code where I fixed to get it work with UTF-8. https://www.diffchecker.com/4y2QV79j
tom5079 commented 2020-11-26 16:54:01 +00:00 (Migrated from zxq.co)

Oh I forgot to change import part :{
Why can't I change my own comment btw

https://www.diffchecker.com/iuI3W3FR

Oh I forgot to change import part :{ Why can't I change my own comment btw https://www.diffchecker.com/iuI3W3FR
Nyo (Migrated from zxq.co) closed this issue 2020-11-26 16:54:04 +00:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ripple/pep.py#29
No description provided.