mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-25 01:07:47 +00:00
Revert "Change default charset to UTF-8"
This reverts commit 86eb14b7bbad2be6e23f36478b4f3d6a43d55dd7.
This commit is contained in:
parent
258910504c
commit
5cccea5846
@ -24,7 +24,7 @@ public class PartParser {
|
||||
String characterSet = CharacterSets.getMimeName(body.getPart(i).getCharset());
|
||||
|
||||
if (characterSet.equals(CharacterSets.MIMENAME_ANY_CHARSET))
|
||||
characterSet = CharacterSets.UTF_8;
|
||||
characterSet = CharacterSets.MIMENAME_ISO_8859_1;
|
||||
|
||||
if (body.getPart(i).getData() != null) {
|
||||
partText = new String(body.getPart(i).getData(), characterSet);
|
||||
|
Loading…
x
Reference in New Issue
Block a user