From ef3f7c2f83b85f884dc53304c68bb8e5ef5d285d Mon Sep 17 00:00:00 2001 From: Christophe Mutricy Date: Tue, 8 Sep 2009 22:08:27 +0100 Subject: [PATCH] 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 --- src/text/wincp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/text/wincp.c b/src/text/wincp.c index ba69fe9c2b..9848d26ac9 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(?) -- 2.39.5