Revert small fix

pull/208/head
M66B 2 years ago
parent 10c47905be
commit 7287879526

@ -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) {

Loading…
Cancel
Save