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
1 changed files with 1 additions and 1 deletions

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;