mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-12-23 16:40:32 +00:00
StandardCharsets.UTF_8 instead of Charset.forName("utf-8")
This commit is contained in:
parent
42ec6f0810
commit
845767e2f8
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user