[Bug 269375] querylocale of LC_COLLATE fails after changing from C.UTF-8 to C
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 269375] querylocale of LC_COLLATE fails after changing from C.UTF-8 to C"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 269375] querylocale of LC_COLLATE fails after changing from C.UTF-8 to C"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 269375] querylocale of LC_COLLATE fails after changing from C.UTF-8 to C"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 269375] querylocale of LC_COLLATE fails after changing from C.UTF-8 to C"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 269375] querylocale of LC_COLLATE fails after changing from C.UTF-8 to C"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 269375] querylocale of LC_COLLATE fails after changing from C.UTF-8 to C"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 06 Feb 2023 16:38:32 UTC
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.