From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS3215 2.6.0.0/16 X-Spam-Status: No, score=-4.2 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 50DFC1F5AE for ; Sun, 2 May 2021 19:18:12 +0000 (UTC) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 88D453894C05; Sun, 2 May 2021 19:18:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 88D453894C05 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1619983091; bh=HufX4N6r27Lo7j7/E1iRpTCWasE/M0mJ/Kg+omx5eqs=; h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=TCv29OpJsM873ELQagkvu4/vim34Zod6V6Y+TlSVDnkCNVjrPKTbhiXA8QYb3JGfO AY7baUI35UelSnKrAwoCrKMl7Fisq1AEGlnnMpg5Tk/LFjq/U8ZybvcnFB9ndZk4WM ZN+GoOYG5GTKIyuEWuBQ/1SaZCysIhEW+zpXYJ9k= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTP id D471E3894C05 for ; Sun, 2 May 2021 19:18:08 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org D471E3894C05 Received: from mail-qk1-f198.google.com (mail-qk1-f198.google.com [209.85.222.198]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-540-qTi6VlqFPeWxzLtylIR5tw-1; Sun, 02 May 2021 15:18:07 -0400 X-MC-Unique: qTi6VlqFPeWxzLtylIR5tw-1 Received: by mail-qk1-f198.google.com with SMTP id 79-20020a3707520000b02902e48d5e1496so3590110qkh.10 for ; Sun, 02 May 2021 12:18:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=HufX4N6r27Lo7j7/E1iRpTCWasE/M0mJ/Kg+omx5eqs=; b=kfFO3OyENo8dYJPRh1+HbBBjG5JSf0VEtzessOgQAoUHFr+Ouv93DoXhMHZk2YJewI xBuvLej6qoU3NjhweugiL3DdU6V+xdShf+bc6meBdRMWOhmZ9JQRMvc/SY/h5zMunVVl P30idpr+T3cAVZPh1/mELcXSswkFXvT9goLPDfBJF5IAAe43ndHrKO2pM7lgiPl76ul9 Dq9Vi81qWXEYHt/X1ee78nnXq23O5SXeTd1wL3bnxkWVMgLsAicUjdiAKV0wKg0A8bqo wKGvbtq9oFhBXwtLz13JdmE5Q8G9qh4YnI61dcT4ezGz59zVXQDxXo0oDoWmYhVnbKgd 3RMQ== X-Gm-Message-State: AOAM5334i5NjeOANrwcy1oh7xz6HLaAlbzz2m1NspoE30417RLAUKO03 3M8RXZqfWTb46kMnktcc5ef7w/0zb58MsKM9fFQkfRJnVClq/hxXpQkexwtEKVTsvCCC9ud2Ec0 /N2wCtt1eFO8juhP5/ntDgRoR8Kn9py9VR91r9N08fyAb1dWVl12fGHPpERkOZlfYycKoIQ== X-Received: by 2002:ac8:5211:: with SMTP id r17mr13908988qtn.179.1619983086589; Sun, 02 May 2021 12:18:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxqCov5CLQvH/DYpPf5g9C30Yt4unnxehEbgo1+AlTvFsRBYGP/ihHStcgRcZLWdncefmr7LQ== X-Received: by 2002:ac8:5211:: with SMTP id r17mr13908974qtn.179.1619983086371; Sun, 02 May 2021 12:18:06 -0700 (PDT) Received: from [192.168.1.16] (198-84-214-74.cpe.teksavvy.com. [198.84.214.74]) by smtp.gmail.com with ESMTPSA id t3sm6825023qke.72.2021.05.02.12.18.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 02 May 2021 12:18:05 -0700 (PDT) Subject: Re: [PATCH v4 4/4] Add generic C.UTF-8 locale (Bug 17318) To: Florian Weimer References: <20210428130033.3196848-1-carlos@redhat.com> <20210428130033.3196848-5-carlos@redhat.com> <87eeetfaan.fsf@oldenburg.str.redhat.com> <93ab3888-25db-4582-ce6a-c7a91ac14417@redhat.com> <87a6pf4ota.fsf@oldenburg.str.redhat.com> Organization: Red Hat Message-ID: <1aa2ac98-6858-61de-f631-011eac14c8ed@redhat.com> Date: Sun, 2 May 2021 15:18:04 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <87a6pf4ota.fsf@oldenburg.str.redhat.com> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Carlos O'Donell via Libc-alpha Reply-To: Carlos O'Donell Cc: libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" On 4/30/21 2:20 PM, Florian Weimer wrote: > * Carlos O'Donell: > >> On 4/29/21 4:05 PM, Carlos O'Donell wrote: >>> - LC_CTYPE, includes "translit_combining" which is wrong for a C locale IMO. >>> - Upstream C.UTF-8 includes no transliteration, all characters pass >>> through because UTF-8 supports all such characters. >> >> It turns out that this is related to bug 26984. >> >> I was wrong too, the C locale has a builtin set of ~1600 transliterations that >> it uses internally (I even reviewed a patch for that you committed). >> I had completely forgotten about this internal detail. >> >> This transliteration affects converters ability to use //TRANSLIT, and so I >> think we should include all the netural transliterations e.g. >> >> translit_start >> include "translit_neutral";"" >> translit_end >> >> This makes things *better* with respect to harmonization with Debian/Ubuntu. >> >> Thoughts? >> >> In summary: >> - POSIX says nothing about transliteration. >> - C/POSIX already includes a partial set of ~1600 translit entries, and they >> are largely incomplete. It would be nice to harmonize them with the proper >> translit_neutral set. >> - C.UTF-8 including translit_neutral would bring in ~25,000 translit rules >> for conversions from UTF-8 to other charmaps. This would be a superset of >> those offered by C/POSIX. >> - Fixing C/POSIX is another issue. > > I'm in favor of including those transliterations. Thanks. I'll spin a v5, test and repost. I need to look at the size impact of the additional transliterations. -- Cheers, Carlos.