This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/2648] localedata/locales/es_ES has incorrect LC_COLLATE <space> handling
- From: "mfabian at suse dot de" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 9 May 2006 16:05:00 -0000
- Subject: [Bug libc/2648] localedata/locales/es_ES has incorrect LC_COLLATE <space> handling
- References: <20060509154921.2648.mfabian@suse.de>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From mfabian at suse dot de 2006-05-09 16:04 -------
Another comment by Markus Kuhn:
Comment #11 From Markus Kuhn 2006-04-10 03:49 MST
[ ] Private
Options:
a) Tell the customer that you are sorry that glibc does not at present offer
what he expects, and that we are unable to fix this ourselved without breaking
compatibility with every other glibc-based distribution. One possible
customer-side workaround is to replace SP with NBSP (0xa0) before sorting. NBSP
does already seem to get sorted in the way in which the customer expects SP to
be sorted.
b) Patch in /usr/share/i18n/locales/iso14651_t1 the line
<U0020> IGNORE;IGNORE;IGNORE;<U0020> # 32 <SP>
to something like
<U0020> <U0020>;<BAS>;<MIN>;IGNORE
to make SP sort like NBSP does already
WARNING: This obviously breaks compatibility with other Linux distributions.
c) Fund a proper research project aimed as cleaning up the mess that the
collation implementation and configuration is at present in glibc and POSIX,
possibly also investigating user needs and developing a new API for customizing
the sorting order at run-time via environment variables and/or new library
calls.
The reported propblem is only one symptom of the fact that the collating code
(and perhaps even the underlying POSIX spec!) is not really finished and is at
present not properly maintained.
Option c) is perhaps what really should be done, but needs far wider discussion
(beyond Novell) and escalation to management, because someone will have to
spend many weeks (if not months) on sorting this entire issue out properly.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=2648
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.