]> sourceware.org Git - glibc.git/commit
intl: Treat C.UTF-8 locale like C locale (BZ# 16621)
authorBruno Haible <bruno@clisp.org>
Mon, 4 Sep 2023 13:31:36 +0000 (15:31 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 4 Sep 2023 13:31:36 +0000 (15:31 +0200)
commit2897b231a6b71ee17d47d3d63f1112b2641a476c
tree5bb05584cf0c39966b55fdd4f44732463b04e867
parent807690610916df8aef17cd14bfadd5d4b6e699a9
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>
intl/dcigettext.c
This page took 0.037364 seconds and 5 git commands to generate.