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

Content-Length wrong with multibyte body (UTF-8) #92

Closed
wackyfrog opened this issue Sep 13, 2013 · 1 comment
Closed

Content-Length wrong with multibyte body (UTF-8) #92

wackyfrog opened this issue Sep 13, 2013 · 1 comment

Comments

@wackyfrog
Copy link

If installed extension mbstring and overloaded function strlen then length of content calculates incorrect.
So, solutions is use mb_strlen($payload, '8bit'). Or don't overload 'strlen', but if it already did...

@nategood
Copy link
Owner

Resolved with #93

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

No branches or pull requests

2 participants