git-c-utf-8-language
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Tue, 17 Oct 2023 12:00:24 +0000 (13:00 +0100)
committerPeter Michael Green <plugwash@raspbian.org>
Tue, 17 Oct 2023 12:00:24 +0000 (13:00 +0100)
commita563b9bfe88eeeaa4e7ba8a8d9e38c362dfcc576
tree8e0f63a71197b055f6b35a7835c7766cf67e7e18
parentacb932153a8317aa3e49f2a90ce71bb7ed9142c1
git-c-utf-8-language

commit 2897b231a6b71ee17d47d3d63f1112b2641a476c
Author: Bruno Haible <bruno@clisp.org>
Date:   Mon Sep 4 15:31:36 2023 +0200

    intl: Treat C.UTF-8 locale like C locale (BZ# 16621)

    The wiki page https://sourceware.org/glibc/wiki/Proposals/C.UTF-8
    says that "Setting LC_ALL=C.UTF-8 will ignore LANGUAGE just like it
    does with LC_ALL=C." This patch implements it.

    * intl/dcigettext.c (guess_category_value): Treat C.<encoding> locale
    like the C locale.

Reviewed-by: Florian Weimer <fweimer@redhat.com>
Gbp-Pq: Topic any
Gbp-Pq: Name git-c-utf-8-language.diff
intl/dcigettext.c