Skip to content

Encoding Problem when calculating the Lenght of the Response contentLenght #223

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

Closed
sijakubo opened this issue Dec 13, 2019 · 2 comments · Fixed by #224
Closed

Encoding Problem when calculating the Lenght of the Response contentLenght #223

sijakubo opened this issue Dec 13, 2019 · 2 comments · Fixed by #224

Comments

@sijakubo
Copy link
Contributor

sijakubo commented Dec 13, 2019

Hi,

the servlet responses are cut off when containing utf8 charachters like 'ä', 'ö', ...

I've noticed that you already fixed this issue in your current master. Could you release a new Version with this fix? This is a show stopper for us.

response.setContentLength(responseContent.getBytes(StandardCharsets.UTF_8).length);

Best regards,
Simon Jakuobwski

@oliemansm
Copy link
Member

oliemansm commented Dec 13, 2019 via email

@sijakubo
Copy link
Contributor Author

sijakubo commented Jan 9, 2020

9.0.1 fixed my issue. Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants