From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 96420 invoked by alias); 21 Jul 2015 09:16:30 -0000 Mailing-List: contact libc-locales-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: libc-locales-owner@sourceware.org Received: (qmail 75051 invoked by uid 89); 21 Jul 2015 09:05:15 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: mx1.redhat.com Subject: Re: [PATCH] Use Unicode code points for country_isbn To: keld@keldix.com References: <5571B8C2.8000108@redhat.com> <20150609071130.GA26925@domone> <5576BC13.5020001@redhat.com> <20150721081840.GE12267@vapier> <20150721084006.GB29742@www5.open-std.org> <55AE08BD.5020703@redhat.com> <20150721090239.GA31441@www5.open-std.org> Cc: Marko Myllynen , GNU C Library , libc-locales@sourceware.org From: Florian Weimer Message-ID: <55AE0B47.7020902@redhat.com> Date: Tue, 21 Jul 2015 09:16:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <20150721090239.GA31441@www5.open-std.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-SW-Source: 2015-q3/txt/msg00026.txt.bz2 On 07/21/2015 11:02 AM, keld@keldix.com wrote: > On Tue, Jul 21, 2015 at 10:54:21AM +0200, Florian Weimer wrote: >> On 07/21/2015 10:40 AM, keld@keldix.com wrote: >> >>> The use of Unicode points helps making the locales portable, eg. >>> when crosscompiling for different architectures, including embedded systems, ebcdic >>> systems, utf-16 systems and utf8 systems, when you are on a different host platform. >> >> Is this really a relevant use case? Cross-compiling glibc to an EBCDIC >> system? > > I also mentioned other cases, which may be more relevant.. I can't see how. Unless someone maintains this code and processing pipeline, it's not going to work with the current code. Is anyone doing it? I doubt it. We don't use trigraphs in C sources, so I really don't get why we have to use an equivalent construct in the locale definitions. Unless the goal is to raise the bar for new contributors for some reason, but I think the project has long walked away from that approach. -- Florian Weimer / Red Hat Product Security