From 6e6bfaa932377e4cf8d133ad7d2afa4ae3304416 Mon Sep 17 00:00:00 2001 From: "Brian St. Pierre" Date: Thu, 14 Sep 2017 15:27:14 -0400 Subject: [PATCH] set MMS default characterset to utf-8. Fixes #6374 Closes #6965 --- src/org/thoughtcrime/securesms/mms/PartParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/thoughtcrime/securesms/mms/PartParser.java b/src/org/thoughtcrime/securesms/mms/PartParser.java index e0fc12d36a..7c7e44a171 100644 --- a/src/org/thoughtcrime/securesms/mms/PartParser.java +++ b/src/org/thoughtcrime/securesms/mms/PartParser.java @@ -24,7 +24,7 @@ public class PartParser { String characterSet = CharacterSets.getMimeName(body.getPart(i).getCharset()); if (characterSet.equals(CharacterSets.MIMENAME_ANY_CHARSET)) - characterSet = CharacterSets.MIMENAME_ISO_8859_1; + characterSet = CharacterSets.MIMENAME_UTF_8; if (body.getPart(i).getData() != null) { partText = new String(body.getPart(i).getData(), characterSet);