]> git.sesse.net Git - vlc/commitdiff
No fallback for Sorani
authorChristophe Mutricy <xtophe@videolan.org>
Tue, 8 Sep 2009 21:08:27 +0000 (22:08 +0100)
committerChristophe Mutricy <xtophe@videolan.org>
Tue, 8 Sep 2009 21:13:14 +0000 (22:13 +0100)
Fix 271354ef76c662.
locale_match() only support 2 char code and i can't be bothered to expand it for a rare language

src/text/wincp.c

index ba69fe9c2b3b5bea31b2ce344a316497da54795d..9848d26ac9622290ef65785daf5972dd3ca310a3 100644 (file)
@@ -91,7 +91,7 @@ static const char *FindFallbackEncoding (const char *locale)
         return "CP1251"; // KOI8, ISO-8859-5 and CP1251 are incompatible(?)
 
     /* Arabic (ISO-8859-6) */
-    static const char arabic[] = "ar" "ckb" "fa";
+    static const char arabic[] = "ar" "fa";
     if (!locale_match (arabic, locale))
         // FIXME: someone check if we should return CP1256 or ISO-8859-6
         return "CP1256"; // CP1256 is(?) more common, but incompatible(?)