From 8a5dbf5cfe9e5aac02a669e05fb31f7f85c580c0 Mon Sep 17 00:00:00 2001 From: epbk Date: Fri, 19 Jul 2024 13:44:50 +0200 Subject: [PATCH] MP1-5222: TV Server: Fix ISO-8859-10/14 DVB text encodings --- TvEngine3/TVLibrary/TvLibrary.Interfaces/DvbTextConverter.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TvEngine3/TVLibrary/TvLibrary.Interfaces/DvbTextConverter.cs b/TvEngine3/TVLibrary/TvLibrary.Interfaces/DvbTextConverter.cs index 2c4fac575d9..8fa0b561836 100644 --- a/TvEngine3/TVLibrary/TvLibrary.Interfaces/DvbTextConverter.cs +++ b/TvEngine3/TVLibrary/TvLibrary.Interfaces/DvbTextConverter.cs @@ -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);