mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 03:02:35 +01:00
Fixed newly introduced bug in EBU text reading (thx Iban)
git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@52 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
parent
4f2106a740
commit
091b58f8f6
@ -230,6 +230,8 @@ namespace Nikse.SubtitleEdit.Logic.SubtitleFormats
|
||||
sb.Append("</u>");
|
||||
else if (buffer[index + 16 + i] == TextFieldTerminator)
|
||||
break;
|
||||
else if (buffer[index + 16 + i] >= 0x20 && buffer[index + 16 + i] <= 0x7F)
|
||||
sb.Append(encoding.GetString(buffer, index+16+i, 1));
|
||||
else if (buffer[index + 16 + i] >= 0xA1)
|
||||
sb.Append(encoding.GetString(buffer, index+16+i, 1));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user