M
Matt Baker
Guest
The "psc.as.http.uriencoding=UTF-8" system property is instructions to the Tomcat connector how to interpret incoming requests. Outgoing requests are owned by whatever servlet is generating the response. If not specified, the HTTP spec requires the client to assume ISO8859-1. But JSON is required to be UNICODE (i.e. UTF-8 or UTF-16), so the response must include it for the client to interpret it properly. A lot of responses can get away without specifying it because they only contain ascii, but as soon as you wander outside of that charset, bad things happen.
Continue reading...
Continue reading...