From owner-cvs-all Mon Apr 8 0:54:23 2002 Delivered-To: cvs-all@freebsd.org Received: from kazi.dcse.fee.vutbr.cz (kazi.dcse.fee.vutbr.cz [147.229.8.12]) by hub.freebsd.org (Postfix) with ESMTP id 6D89337B41A for ; Mon, 8 Apr 2002 00:54:15 -0700 (PDT) Received: (from cejkar@localhost) by kazi.dcse.fee.vutbr.cz (8.11.6/8.11.6) id g387rw706177; Mon, 8 Apr 2002 09:53:58 +0200 (CEST) Date: Mon, 8 Apr 2002 09:53:58 +0200 From: Cejka Rudolf To: "Andrey A. Chernov" Cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/share/colldef cs_CZ.ISO8859-2.src Message-ID: <20020408095357.A4194@fit.vutbr.cz> References: <20020407170804.A79700@fit.vutbr.cz> <20020407181849.GA68881@nagual.pp.ru> <20020407205501.A84706@fit.vutbr.cz> <20020407204132.GA69778@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020407204132.GA69778@nagual.pp.ru>; from ache@nagual.pp.ru on Mon, Apr 08, 2002 at 12:41:34AM +0400 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Andrey A. Chernov wrote (2002/04/08): > Because programs gets broken in other case. If they gets broken, we have to fix them or leave them as they are and wait for fixing them, but it is not possible to "solve" localization problems by breaking localization itself. If you think in this way, when we can expect that you break localization for numbers and for dates? These both are much bigger problem than collation: * When you call setlocale(LC_ALL, ...), floating numbers are automatically printed with comma instead of dot in printf() in some localizations. It is very common and really painful problem, for example when some programs generate broken PostScript files. * When you call setlocale(LC_ALL, ...), strftime() automatically produces localized strings and not all applications take it into account, even if it is everywhere specified. * On the other hand, with collation you have to use setlocale(LC_ALL, ...) and specialized strcoll()/strxfrm(), so applications have to know that this collation is different from standard collation, so applications have to expect problems. > Almost any current system > strcoll usage suppose ASCII-compatible charset and produce unpredictable > bugs otherwise. We are not ready to free-form collates yet. As for example Acrobat Reader, which does not work with our localization. However it is not the case when we can break localization - we have to force to fix broken applications. We use it and we live with it and we know about it. On the other hand - you do not use it and you do not live with it, so why you still want to break our localization? We have to fix "current system strcoll usages" and please do not break localization itself. > Because it is not in the form suitable for FreeBSD. It worked fine before, so why it could not work anymore? > Do you check other collates before making your variant? Yes. And you? I'm afraid that you did not and even you did not check our norm and you did not contact anybody about this. Check all other systems for example, please: Linux: C = A B a b cs_CZ.ISO-8859-2 = A a B b Solaris: C = A B a b cz = A a B b Irix: C = A B a b cs = a A b B Unixware: C = A B a b cs_CZ.ISO8859-2 = a A b B FreeBSD (old): C = A B a b cs_CZ.ISO8859-2 = A a B b AcheBSD (new): C = A B a b cs_CZ.ISO8859-2 = A B a b AcheBSD is currently the only system I know, which wants to have ASCII compatibility upon national standards. > Do you notice their similarity in some aspects? Yes, but our collation is different from them so we have to have different collation. Is it so hard to understand it? > I preserve as much of your variant as I can, making it ASCII > backward-compatible. I can't see how it can be very broken. No, our collation is not ASCII backward compatible, so for us it is very broken. > There are certain rules. I.e when you sort ASCII file, it must > remains the same as with LANG=C for compatibility reasons. And it is said in which norm? It still looks just as your personal opinion. Why people implementing and using other systems such as Solaris, Irix, Unixware and Linux think different? -- Rudolf Cejka http://www.fit.vutbr.cz/~cejkar Brno University of Technology, Faculty of Information Technology Bozetechova 2, 612 66 Brno, Czech Republic To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message