StandardCharsets.UTF_8 instead of Charset.forName("utf-8")

This commit is contained in:
kapodamy 2020-01-18 00:43:38 -03:00
parent 42ec6f0810
commit 845767e2f8

View file

@ -22,7 +22,7 @@ public class SrtFromTtmlWriter {
private SharpStream out;
private boolean ignoreEmptyFrames;
private final Charset charset = Charset.forName("utf-8");
private final Charset charset = StandardCharsets.UTF_8;
private int frameIndex = 0;