Closed
Description
Is your feature request related to a problem? Please describe.
Perhaps related to #392
For my applications and data I standardize on utf-8 as much as possible.
To make this work this using kickstart servlet I have to set character encoding
Describe the solution you'd like
Perhaps include this snippet in GraphQLHttpServlet:
@Override
protected void doPost(HttpServletRequest req, HttpServletResponse resp) {
try {
req.setCharacterEncoding(StandardCharsets.UTF_8.name());
resp.setCharacterEncoding(StandardCharsets.UTF_8.name());
} catch (UnsupportedEncodingException e) {
throw new IllegalStateException(e);
}
super.doPost(req, resp);
}
or introduce some configuration for character encoding