On 02/03/18 19:01, Christopher Schultz wrote:
<snip/>
> Would it be better to do this instead:
>
> response.setContentType("text/plain;charset="
> + response.getCharacterEncoding());
>
> Even if the encoding is *supposed* to be UTF-8 (like the constant
> suggests), in case it isn't for whatever reason, we should use the
> encoding that is actually being used, instead of what we expect to be
> used.
We should be in full control of the response so it can be any encoding
we want. Can't it?
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]