mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-23 03:33:18 +01:00
Update TSB4.cs
This commit is contained in:
parent
1eca359708
commit
f2cb8b38b6
@ -86,7 +86,7 @@ namespace Nikse.SubtitleEdit.Core.SubtitleFormats
|
||||
textStart += 8;
|
||||
|
||||
// string text = Encoding.Default.GetString(array, textStart, length);
|
||||
string text = Encoding(CodePage).GetString(array, textStart, length);
|
||||
string text = Encoding.GetEncoding(CodePage).GetString(array, textStart, length);
|
||||
// text = Encoding.Default.GetString(array, i + 53, endOfText - 47);
|
||||
text = text.Trim('\0').Replace("\0", " ").Trim();
|
||||
var item = new Paragraph(text, FramesToMilliseconds(start), FramesToMilliseconds(end));
|
||||
|
Loading…
Reference in New Issue
Block a user