Skip to content

Commit

Permalink
MP1-5222: TV Server: Fix ISO-8859-10/14 DVB text encodings
Browse files Browse the repository at this point in the history
  • Loading branch information
epbk committed Jul 19, 2024
1 parent 9c14bf5 commit 8a5dbf5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions TvEngine3/TVLibrary/TvLibrary.Interfaces/DvbTextConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,9 @@ public static string Convert(IntPtr ptr, string lang)
string result;
if (encoding == 20269)
result = ISOTextDecoder.from_ISO_6937_EU(text);
else if (encoding == 20600)
else if (encoding == 28600)
result = ISOTextDecoder.from_ISO_8859_10(text);
else if (encoding == 20604)
else if (encoding == 28604)
result = ISOTextDecoder.from_ISO_8859_14(text);
else
result = System.Text.Encoding.GetEncoding(encoding).GetString(text);
Expand Down

0 comments on commit 8a5dbf5

Please sign in to comment.