Skip to content

Small change to facilitate unicode/latin hybrid decoding - #1

Merged
farces merged 1 commit into
farces:py3from
DanielOaks:py3
Oct 4, 2011
Merged

farces merged 1 commit into
farces:py3from
DanielOaks:py3

Conversation

@DanielOaks

Copy link
Copy Markdown
Contributor

Just a try:except block, if unicode fails it decodes using the latin-1 decoding instead. Shouldn't hamper usability, as if the server uses plain unicode it will always decode using the unicode

This only makes the receiving text use the hybrid encoding, so everything will work just like it already does except when receiving weirdly encoded text

http://xchat.org/encoding/#hybrid

farces pushed a commit that referenced this pull request Oct 4, 2011
Small change to facilitate unicode/latin hybrid decoding
@farces
farces merged commit b1091e1 into farces:py3 Oct 4, 2011
@farces

farces commented Oct 4, 2011

Copy link
Copy Markdown
Owner

late (github was dying because of differing line endings), but finally merged

@DanielOaks

Copy link
Copy Markdown
Contributor Author

ah, I'll make sure to double-check that next time

@farces

farces commented Oct 6, 2011

Copy link
Copy Markdown
Owner

not your fault, there were some weird issues with github handling them that they've since fixed :)

@DanielOaks

Copy link
Copy Markdown
Contributor Author

haha alrighty, good to know :)

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.

2 participants