Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
This commit is contained in:
commit
389ef2a2a3
|
@ -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