From 51b516d6785840da0e07f60e892d5e1de013fad0 Mon Sep 17 00:00:00 2001 From: Laurent Bigonville Date: Tue, 27 Jun 2017 11:34:38 +0200 Subject: [PATCH] Treat C.UTF-8 and C.utf8 locales as built in the C library. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=717423 https://bugs.freedesktop.org/show_bug.cgi?id=101605 --- src/fclang.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/fclang.c b/src/fclang.c index 18a373c..6da82dd 100644 --- a/src/fclang.c +++ b/src/fclang.c @@ -189,6 +189,8 @@ FcLangNormalize (const FcChar8 *lang) return NULL; if (FcStrCmpIgnoreCase (lang, (const FcChar8 *)"C") == 0 || + FcStrCmpIgnoreCase (lang, (const FcChar8 *)"C.UTF-8") == 0 || + FcStrCmpIgnoreCase (lang, (const FcChar8 *)"C.utf8") == 0 || FcStrCmpIgnoreCase (lang, (const FcChar8 *)"POSIX") == 0) { result = FcStrCopy ((const FcChar8 *)"en"); -- 2.13.1