public inbox for libc-locales@sourceware.org
 help / color / mirror / Atom feed
* [Bug localedata/19919] New: [PATCH] Correct the Malayalam sorting order of 0D36 and 0D37
@ 2016-04-07  7:27 santhosh.thottingal at gmail dot com
  2016-04-07  9:04 ` [Bug localedata/19919] " pravin.d.s at gmail dot com
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: santhosh.thottingal at gmail dot com @ 2016-04-07  7:27 UTC (permalink / raw)
  To: libc-locales

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

            Bug ID: 19919
           Summary: [PATCH] Correct the Malayalam sorting order of 0D36
                    and 0D37
           Product: glibc
           Version: 2.25
            Status: NEW
          Severity: normal
          Priority: P2
         Component: localedata
          Assignee: unassigned at sourceware dot org
          Reporter: santhosh.thottingal at gmail dot com
                CC: libc-locales at sourceware dot org
  Target Milestone: ---

Created attachment 9161
  --> https://sourceware.org/bugzilla/attachment.cgi?id=9161&action=edit
Patch to correct the sorting order of 0D36 and 0D37

The Malayalam characters ശ(U+0D36) and ഷ(U+0D37) should be sorted just like the
order of they unicode code points. In the master version of glibc, the order is
swapped.

It sorts ശ(U+0D36) after ഷ(U+0D37) which is a bug in the patch I submitted long
time back(Bug 12541)

$ LANG=ml_IN.UTF-8 sort ~/sort.txt
വ
ഷ
ശ
സ
ഹ

This is wrong.

With the attached patch, I will get and it is correct.

$ LANG=ml_IN.UTF-8 sort ~/sort.txt
വ
ശ
ഷ
സ
ഹ

The mistake was probably happened because of confusing naming of Unicode
characters that have very similar pronunciation.

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

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2017-07-13 15:37 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-07  7:27 [Bug localedata/19919] New: [PATCH] Correct the Malayalam sorting order of 0D36 and 0D37 santhosh.thottingal at gmail dot com
2016-04-07  9:04 ` [Bug localedata/19919] " pravin.d.s at gmail dot com
2016-04-07 11:02 ` santhosh.thottingal at gmail dot com
2016-04-07 18:17 ` [Bug localedata/19919] iso14651_t1_common: " vapier at gentoo dot org
2016-04-08  4:01 ` santhosh.thottingal at gmail dot com
2016-05-15 11:10 ` santhosh.thottingal at gmail dot com
2017-04-18  7:00 ` pravin.d.s at gmail dot com
2017-04-18  9:59 ` santhosh.thottingal at gmail dot com
2017-04-19 10:44 ` santhosh.thottingal at gmail dot com
2017-06-11 14:12 ` cvs-commit at gcc dot gnu.org
2017-06-11 14:17 ` zackw at panix dot com
2017-06-11 14:29 ` cvs-commit at gcc dot gnu.org
2017-06-11 14:32 ` cvs-commit at gcc dot gnu.org
2017-06-11 14:35 ` cvs-commit at gcc dot gnu.org
2017-07-13 15:37 ` cvs-commit at gcc dot gnu.org

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).