public inbox for libc-locales@sourceware.org
 help / color / mirror / Atom feed
From: "danko at very dot lv" <sourceware-bugzilla@sourceware.org>
To: libc-locales@sourceware.org
Subject: [Bug localedata/23774] New: lv_LV collates Y/y incorrectly
Date: Sun, 14 Oct 2018 08:58:00 -0000	[thread overview]
Message-ID: <bug-23774-716@http.sourceware.org/bugzilla/> (raw)

https://sourceware.org/bugzilla/show_bug.cgi?id=23774

            Bug ID: 23774
           Summary: lv_LV collates Y/y incorrectly
           Product: glibc
           Version: unspecified
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: localedata
          Assignee: unassigned at sourceware dot org
          Reporter: danko at very dot lv
                CC: libc-locales at sourceware dot org, maiku.fabian at gmail dot com
  Target Milestone: ---

Commit 159738548130d5ac4fe6178977e940ed5f8cfdc4 introduced this change in the
lv_LV locale:

-<U0079> <i>;<PCL>;<MIN>;IGNORE % y
-<U0059> <i>;<PCL>;<CAP>;IGNORE % Y
+<U0079> <S0069>;<LOWLINE>;<MIN>;IGNORE % y
+<U0059> <S0069>;<LOWLINE>;<CAP>;IGNORE % Y

I don't know what "PCL" meant and whether "Y" was supposed to be "BASE" in the
first place, but "LOWLINE" certainly looks like a bug.

Letter Y is not present in the Latvian alphabet, however it is present in
Latgalian and is located after I, which is what the CLDR rule seems to suggest:

&I<<y<<<Y

I found this by accident while investigating the result of this command on my
system (with LANG being lv_LV.UTF-8)

$ echo abcxyz | grep -Eo '[a-z]+'
abcx
z

I'm sorry if I misunderstood something as I've never worked with either glibc
or CLDR locales directly before.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

             reply	other threads:[~2018-10-14  8:58 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-14  8:58 danko at very dot lv [this message]
2018-10-15 12:11 ` [Bug localedata/23774] " maiku.fabian at gmail dot com
2018-10-15 12:34 ` maiku.fabian at gmail dot com
2018-10-15 12:34 ` maiku.fabian at gmail dot com
2018-12-22 19:56 ` rei4dan at gmail dot com
2021-09-08 15:12 ` carlos at redhat dot com
2023-12-08 21:19 ` rudolfs.mazurs at gmail dot com
2024-02-01 22:10 ` rudolfs.mazurs at gmail dot com
2024-02-07  8:44 ` maiku.fabian at gmail dot com
2024-02-07  8:45 ` maiku.fabian at gmail dot com
2024-02-07 15:03 ` maiku.fabian at gmail dot com
2024-02-08  7:38 ` maiku.fabian at gmail dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-23774-716@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=libc-locales@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).