Skip site navigation (1)Skip section navigation (2)
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/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269375

            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=3D239952&action=
=3Dedit
A short C reproducer program

querylocale() returns C.UTF-8 for LC_COLLATE after the locale has been swit=
ched
from C.UTF-8 to C.

This is likely related to #25466

Other operating systems have aliases for a given locale, but they either al=
ways
have a base one that the others are synonyms for, and have querylocale alwa=
ys
return that base locale; or they make sure to use the proper alias based on=
 the
name in the original newlocale() call.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-269375-227>