[vlc-devel] commit: No fallback for Sorani (Christophe Mutricy )

git version control git at videolan.org
Tue Sep 8 23:14:59 CEST 2009


vlc | branch: master | Christophe Mutricy <xtophe at videolan.org> | Tue Sep  8 22:08:27 2009 +0100| [ef3f7c2f83b85f884dc53304c68bb8e5ef5d285d] | committer: Christophe Mutricy 

No fallback for Sorani

Fix 271354ef76c662.
locale_match() only support 2 char code and i can't be bothered to expand it for a rare language

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ef3f7c2f83b85f884dc53304c68bb8e5ef5d285d
---

 src/text/wincp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/text/wincp.c b/src/text/wincp.c
index ba69fe9..9848d26 100644
--- a/src/text/wincp.c
+++ b/src/text/wincp.c
@@ -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(?)




More information about the vlc-devel mailing list