Merge remote-tracking branch 'origin/jetty-9.4.x'
This commit is contained in:
commit
30bb2b4193
|
@ -801,7 +801,10 @@ public class Response implements HttpServletResponse
|
|||
String encoding = MimeTypes.getCharsetAssumedFromContentType(_contentType);
|
||||
if (encoding!=null)
|
||||
return encoding;
|
||||
_characterEncoding = StringUtil.__ISO_8859_1;
|
||||
encoding = MimeTypes.getCharsetInferredFromContentType(_contentType);
|
||||
if (encoding!=null)
|
||||
return encoding;
|
||||
return StringUtil.__ISO_8859_1;
|
||||
}
|
||||
return _characterEncoding;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue