Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jun 2003 00:57:59 +0200
From:      "Vahe Khachikyan" <vahe@khachikyan.de>
To:        "FreeBSD Hackers" <freebsd-hackers@freebsd.org>
Subject:   BUG in collate routines?!
Message-ID:  <005201c3377f$65f4c460$0700010a@workstation>

next in thread | raw e-mail | index | archive | help
Hi ,

I was making a new locale for Armenian and it seams that found a bug in
substitute routines.
The problem is, that the colldef with substitution seams to have a buggy
behaviour.
When a locale has a LC_COLLATE defined with a substitution like German 'ß'
which is
substituted with 'ss', then a strcoll of strings 'sr' and 'ß' returns the
same value like
strcoll of 'st' and 'ß'. The colldef file for de_DE.ISO8859-1 says that the
german ligature
'ß' should be substituded with 'ss'.
I hope that I understood the meaning of substitude in colldef correctly, at
least on Linux it works
as awaited.

Should we make a patch for libc or is this a correct behaviour?

--
Vahe Khachikyan
---



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?005201c3377f$65f4c460$0700010a>