mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-25 01:07:47 +00:00
parent
8d08f3969a
commit
6e6bfaa932
@ -24,7 +24,7 @@ public class PartParser {
|
|||||||
String characterSet = CharacterSets.getMimeName(body.getPart(i).getCharset());
|
String characterSet = CharacterSets.getMimeName(body.getPart(i).getCharset());
|
||||||
|
|
||||||
if (characterSet.equals(CharacterSets.MIMENAME_ANY_CHARSET))
|
if (characterSet.equals(CharacterSets.MIMENAME_ANY_CHARSET))
|
||||||
characterSet = CharacterSets.MIMENAME_ISO_8859_1;
|
characterSet = CharacterSets.MIMENAME_UTF_8;
|
||||||
|
|
||||||
if (body.getPart(i).getData() != null) {
|
if (body.getPart(i).getData() != null) {
|
||||||
partText = new String(body.getPart(i).getData(), characterSet);
|
partText = new String(body.getPart(i).getData(), characterSet);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user