|
|
@ -3209,8 +3209,8 @@ public class MessageHelper {
|
|
|
|
if (h.contentType.match(ct)) {
|
|
|
|
if (h.contentType.match(ct)) {
|
|
|
|
String _charset = ct.getParameter("charset");
|
|
|
|
String _charset = ct.getParameter("charset");
|
|
|
|
Charset _cs = (TextUtils.isEmpty(_charset)
|
|
|
|
Charset _cs = (TextUtils.isEmpty(_charset)
|
|
|
|
? StandardCharsets.ISO_8859_1 :
|
|
|
|
? StandardCharsets.ISO_8859_1
|
|
|
|
Charset.forName(_charset));
|
|
|
|
: Charset.forName(_charset));
|
|
|
|
result = Helper.readStream(bp.getInputStream(), _cs);
|
|
|
|
result = Helper.readStream(bp.getInputStream(), _cs);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} catch (Throwable ex) {
|
|
|
|
} catch (Throwable ex) {
|
|
|
|