From simon@entered.net  Fri Mar 21 02:08:35 2003
Return-Path: <simon@entered.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 673CB37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 21 Mar 2003 02:08:35 -0800 (PST)
Received: from mindtrip.entered.net (BSN-77-156-119.dsl.siol.net [193.77.156.119])
	by mx1.FreeBSD.org (Postfix) with ESMTP id E1F2943F75
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 21 Mar 2003 02:08:33 -0800 (PST)
	(envelope-from simon@entered.net)
Received: by mindtrip.entered.net (Postfix, from userid 1000)
	id 7DDA51973; Fri, 21 Mar 2003 11:08:32 +0100 (CET)
Message-Id: <20030321100832.7DDA51973@mindtrip.entered.net>
Date: Fri, 21 Mar 2003 11:08:32 +0100 (CET)
From: Simon 'Zekar <simon@entered.net>
Reply-To: Simon 'Zekar <simon@entered.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: sl_SI.ISO8859-2 collation sequence is wrong
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         50160
>Category:       conf
>Synopsis:       sl_SI.ISO8859-2 collation sequence is wrong
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    ache
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 21 02:10:08 PST 2003
>Closed-Date:    Sun Jun 10 06:21:01 GMT 2007
>Last-Modified:  Sun Jun 10 06:21:01 GMT 2007
>Originator:     Simon 'Zekar
>Release:        FreeBSD 5.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD mindtrip.entered.net 5.0-RELEASE FreeBSD 5.0-RELEASE #0: Wed Feb 12 18:22:17 CET 2003 root@mindtrip.entered.net:/usr/src/sys/i386/compile/MINDTRIP i386

>Description:
Slovenian locale (sl_SI.ISO8859-2) has a LC_COLLATE linked to la_LN.ISO8859-2/LC_COLLATE which is wrong for our alphabeth.
Letter with caron is treated as equivalent letter without caron. Letter with caron must be after letter without it as visible
in attachhment.

Attached sequence is also compatible with croatian (hr_HR.ISO8859-2 - which is also wrong) alphabeth which have some additional
letters. This letters must be sorted as shown in attached sequence even for slovenian collation sequence.

Corrected collation sequence is also accessible via:
http://entered.net/sl_SI.ISO8859-2.tgz

>How-To-Repeat:
	
>Fix:
Corrected collation sequence is attached.

--- sl_SI.ISO8859-2.colldef.src begins here ---
#
# Slovenian collation sequence
# 2003-03-20 simon.zekar@literal.si
#

charmap map.ISO8859-2
order \
# controls
	<NU>;...;<US>;<PA>;...;<AC>;\
# 
	<NS>;<SP>;!;\";<Nb>;\
	<Cu>;<DO>;\
	%;&;<',>;<';>;';\(;\);*;+;<-:>;<*X>;\,;<-->;-;.;<'.>;/;\
# digits
	0;...;9;\
# 
	:;\;;\<;=;>;?;<SE>;<At>;\
# capital
	(A,<A'>,<A/>>,<A:>,<A;>,<A(>);\
	B;(C,<C,>);<C<>;<C'>;(D,<D<>);<D//>;(E,<E'>,<E:>,<E;>,<E<>);\
	F;G;H;(I,<I'>,<I/>>);\
	J;K;(L,<L//>,<L<>,<L'>);M;(N,<N'>,<N<>);(O,<O'>,<O/>>,<O:>,<O">);\
	P;Q;(R,<R'>,<R<>);(S,<S'>,<S,>);<S<>;(T,<T<>,<T,>);\
	(U,<U'>,<U:>,<U0>,<U">);\
	V;W;X;(Y,<Y'>);(Z,<Z'>,<Z.>);<Z<>;\
#
	[;\\;];^;<':>;<'">;<'<>;<'(>;_;<''>;`;\
# small
	(a,<a'>,<a/>>,<a:>,<a;>,<a(>);\
	b;(c,<c,>);<c<>;<c'>;(d,<d<>);<d//>;(e,<e'>,<e:>,<e;>,<e<>);\
	f;g;h;(i,<i'>,<i/>>);\
	j;k;(l,<l//>,<l<>,<l'>);m;(n,<n'>,<n<>);(o,<o'>,<o/>>,<o:>,<o">);\
	p;q;(r,<r'>,<r<>);(s,<s'>,<s,>,<ss>);<s<>;(t,<t<>,<t,>);\
	(u,<u'>,<u:>,<u0>,<u">);\
	v;w;x;(y,<y'>);(z,<z'>,<z.>);<z<>;\
#
	\{;|;\};~;<DG>;<DT>
--- sl_SI.ISO8859-2.colldef.src ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs-> 
Responsible-Changed-By: johan 
Responsible-Changed-When: Tue Mar 25 11:00:01 PST 2003 
Responsible-Changed-Why:  


http://www.freebsd.org/cgi/query-pr.cgi?pr=50160 
Responsible-Changed-From-To: ->ache 
Responsible-Changed-By: johan 
Responsible-Changed-When: Tue Mar 25 11:00:43 PST 2003 
Responsible-Changed-Why:  
Over to locale guru. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=50160 
State-Changed-From-To: open->feedback 
State-Changed-By: ache 
State-Changed-When: Tue Mar 25 12:27:52 PST 2003 
State-Changed-Why:  
I know nothing about 8859-2 or sl_SI collating, could you please point me to  
some national standard document describing it or made a quote from it? 

BTW, it seems you change only [Cc] letter, it doesn't look logical with other  
similar letters equivalence untouched. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=50160 
State-Changed-From-To: feedback->patched 
State-Changed-By: ache 
State-Changed-When: Wed Oct 8 17:56:43 PDT 2003 
State-Changed-Why:  
Committed into -current 

http://www.freebsd.org/cgi/query-pr.cgi?pr=50160 
State-Changed-From-To: patched->closed 
State-Changed-By: linimon 
State-Changed-When: Sun Jun 10 06:20:46 UTC 2007 
State-Changed-Why:  
RELENG_4 is now out of support, so this PR is obsolete. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=50160 
>Unformatted:
