| Summary: | Orion corrupts JSON responses when platform charset is not UTF-8 | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Mark Macdonald <mamacdon> |
| Component: | Server | Assignee: | Mark Macdonald <mamacdon> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 10.0 | ||
| Target Milestone: | 10.0 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Mark Macdonald
The Gzip filter is the culprit: it returns a PrintWriter that always uses the default character encoding, when it's supposed to use the response's encoding. Fixed & added regression test http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=d76d3fc Unfortunately the test depends on the default character encoding, so it is only meaningful on platforms whose default encoding is not UTF-8. |