Date: Mon, 06 Feb 2023 16:38:32 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 269375] querylocale of LC_COLLATE fails after changing from C.UTF-8 to C Message-ID: <bug-269375-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269375 Bug ID: 269375 Summary: querylocale of LC_COLLATE fails after changing from C.UTF-8 to C Product: Base System Version: 12.3-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: khw@cpan.org Attachment #239952 text/plain mime type: Created attachment 239952 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=239952&action=edit A short C reproducer program querylocale() returns C.UTF-8 for LC_COLLATE after the locale has been switched from C.UTF-8 to C. This is likely related to #25466 Other operating systems have aliases for a given locale, but they either always have a base one that the others are synonyms for, and have querylocale always return that base locale; or they make sure to use the proper alias based on the name in the original newlocale() call. -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-269375-227>
