* [Bug localedata/14039] New: strcoll inverted(?) order of uppercase/lowercase characters
@ 2012-05-01 4:39 ndrwrdck at gmail dot com
2012-05-01 7:44 ` [Bug localedata/14039] " schwab@linux-m68k.org
2014-06-25 12:09 ` fweimer at redhat dot com
0 siblings, 2 replies; 3+ messages in thread
From: ndrwrdck at gmail dot com @ 2012-05-01 4:39 UTC (permalink / raw)
To: libc-locales
http://sourceware.org/bugzilla/show_bug.cgi?id=14039
Bug #: 14039
Summary: strcoll inverted(?) order of uppercase/lowercase
characters
Product: glibc
Version: 2.13
Status: NEW
Severity: normal
Priority: P2
Component: localedata
AssignedTo: unassigned@sourceware.org
ReportedBy: ndrwrdck@gmail.com
CC: libc-locales@sources.redhat.com
Classification: Unclassified
This is probably invalid, just wanted to raise a potential issue with strcoll.
When sorting ascii characters using their ascii codes 'A' < 'a'. Strcoll does
the opposite 'a' < 'A' and 'ą' < 'Ą'. The problem with this approach is that,
for performance reasons, a lot of programs use ascii comparison and fall back
on strcoll when they encounter unicode characters. This results in inconsistent
sorting, for example 'A' < 'a' and 'ą' < 'Ą'.
Should this particular sorting rule be arbitrary, would it be possible to
change it (to match ascii order)?
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug localedata/14039] strcoll inverted(?) order of uppercase/lowercase characters
2012-05-01 4:39 [Bug localedata/14039] New: strcoll inverted(?) order of uppercase/lowercase characters ndrwrdck at gmail dot com
@ 2012-05-01 7:44 ` schwab@linux-m68k.org
2014-06-25 12:09 ` fweimer at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: schwab@linux-m68k.org @ 2012-05-01 7:44 UTC (permalink / raw)
To: libc-locales
http://sourceware.org/bugzilla/show_bug.cgi?id=14039
Andreas Schwab <schwab@linux-m68k.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> 2012-05-01 07:04:36 UTC ---
If you want to approximate strcoll with strcmp you must first convert the
string with strxfrm.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug localedata/14039] strcoll inverted(?) order of uppercase/lowercase characters
2012-05-01 4:39 [Bug localedata/14039] New: strcoll inverted(?) order of uppercase/lowercase characters ndrwrdck at gmail dot com
2012-05-01 7:44 ` [Bug localedata/14039] " schwab@linux-m68k.org
@ 2014-06-25 12:09 ` fweimer at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: fweimer at redhat dot com @ 2014-06-25 12:09 UTC (permalink / raw)
To: libc-locales
https://sourceware.org/bugzilla/show_bug.cgi?id=14039
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Flags| |security-
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-06-25 12:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-01 4:39 [Bug localedata/14039] New: strcoll inverted(?) order of uppercase/lowercase characters ndrwrdck at gmail dot com
2012-05-01 7:44 ` [Bug localedata/14039] " schwab@linux-m68k.org
2014-06-25 12:09 ` fweimer at redhat dot com
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).