1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-12-24 09:00:31 +00:00

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 SharpStream out;
private boolean ignoreEmptyFrames; private boolean ignoreEmptyFrames;
private final Charset charset = Charset.forName("utf-8"); private final Charset charset = StandardCharsets.UTF_8;
private int frameIndex = 0; private int frameIndex = 0;