-
Bug
-
Resolution: Done
-
Major
-
3.1.1.Final, 3.0.21.Final
-
None
If the response entity type is a String and the charset is not explicitly set, the String is converted to a byte[] using UTF-8. Since the default charset in HTTP is ISO-8859-1, the responses are invalid. Either, the conversion should use o.getBytes(StandardCharsets.ISO_8859_1) or the response charset should be set to utf-8 in that case.
See also RESTEASY-1092, RESTEASY-1066, https://github.com/resteasy/Resteasy/pull/559/files
- causes
-
RESTEASY-1622 Decrease log level of "lack charset" warning message
- Resolved
-
JBEAP-9316 Decrease log level of "lack charset" warning message
- Closed
- clones
-
RESTEASY-1565 Response is broken for String entities if charset is not explicitly specified
- Resolved
- is caused by
-
RESTEASY-1092 Text responses should default to charset UTF-8
- Closed
- is related to
-
RESTEASY-1620 resteasy.add.charset property is not described in RESTEasy documentation
- Resolved
-
JBEAP-9315 resteasy.add.charset property is not described in RESTEasy documentation
- Closed
-
JBEAP-9322 Response is broken for String entities if charset is not explicitly specified
- Closed