Revert small fix

This commit is contained in:
M66B 2022-06-11 09:36:23 +02:00
parent 10c47905be
commit 7287879526
1 changed files with 1 additions and 1 deletions

View File

@ -3251,7 +3251,7 @@ public class MessageHelper {
// UTF-16 can be detected as US-ASCII
if (StandardCharsets.UTF_8.equals(detected)) {
cs = null;
result = new String(result.getBytes(StandardCharsets.ISO_8859_1), detected);
result = new String(result.getBytes(cs), detected);
}
}
} catch (Throwable ex) {