Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

utf-8 #110

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

utf-8 #110

wants to merge 1 commit into from

Conversation

hebaceous
Copy link

@garronej
Copy link
Contributor

garronej commented Jun 8, 2017

Hi @hebaceous,

Have you tested this ?

If you want to support utf8 encoding it's not enough just to replace "ascii" by "utf8".

See the content-length does not refer to the number of character but to the number of byte.

As long as we work with asscii one character equal one byte so it is easy.
But in utf8 the body "✓" for exemple will be content-length: 3

Long story short look at this PR: #120

@hebaceous
Copy link
Author

hebaceous commented Jun 9, 2017 via email

@garronej
Copy link
Contributor

@hebaceous,

Even tho this fix had been working in your use case it is still incomplete/broken for the reasons that I gave earlier.

This PR should not be merged.

Respectuflly,

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