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 CF7F11F5AE for ; Fri, 30 Apr 2021 17:59:59 +0000 (UTC) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id C8FC63A53031; Fri, 30 Apr 2021 17:59:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C8FC63A53031 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1619805598; bh=+mt13cS4FtmzVd8BLJBDtlyF3Wmp5+OFmrETo8wIXNw=; 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=nbecxQBpNY9bzCLHmgfL10cRGBfJ1CqHEfVwjiN7bmmr4FeKmYVlEHt4SCfWNGyGx ARU5EJyZfRRT5KpDrlH/mYx6GdHnOS4Fok0JNNuJQ8qNS7yeVI55W77bX6Kq5VxnV0 panIcwm9cKNbL5gS1CZn9TbPpMOIGR/xS2V0OLLA= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by sourceware.org (Postfix) with ESMTP id 885023848013 for ; Fri, 30 Apr 2021 17:59:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 885023848013 Received: from mail-qt1-f200.google.com (mail-qt1-f200.google.com [209.85.160.200]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-5-pij807J1PMK9w4-isCWXrA-1; Fri, 30 Apr 2021 13:59:52 -0400 X-MC-Unique: pij807J1PMK9w4-isCWXrA-1 Received: by mail-qt1-f200.google.com with SMTP id d10-20020a05622a100ab02901b8224bae03so24312519qte.2 for ; Fri, 30 Apr 2021 10:59:51 -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:from:to:cc:references:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=+mt13cS4FtmzVd8BLJBDtlyF3Wmp5+OFmrETo8wIXNw=; b=t2V38YI5CivuocZYmsAUfpXziV9NZKSquY4mrezBF1ZSzBm0WXTJYVX1LHGM8ddsLu YPU76+zB49+giKqs+BBzopMKlgyZ4O0FIASiJHXEbwNlxhGLaHaaktGgMgwp6UpvUnNx RRsk4c4rZRM36tmCPLFKkRB1FMkM0aFD+CxnzS4647/ufC60tXXg1mwrnSnwEBqo705F ggaRggkUdj4bsUkut9R/9aNLn/rXVa61y2Qn6uzdzWj2tkhv0sxFXe0MBlOcu1WpII3w Uarb8LHgBrXmJK8wWyP6uN0ol3uasXKvEphDstgfcXj236NsjNjSJf4ps272kRVUCSNR PqUg== X-Gm-Message-State: AOAM531+o7uo9SK9pF1BMlC6EaOS2hBARXLC24QU+Dl1LHmyGiebAeIU uAZZW2fHx1a6DZqKze/RoQra1Ocm6G9KSHXdqG7VWC3HmcTQc6PYfUJuEST4AozXoNh0z7P/E3A PncvRT8409SF9qqOWSVXLMmxnGo3CbrmQ+EB15kCZN5k1FO0ymvIV7Jgw+NsXFe5rM9X0Cw== X-Received: by 2002:a0c:aacd:: with SMTP id g13mr6566494qvb.41.1619805590998; Fri, 30 Apr 2021 10:59:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzD2oauKpdtIeYzwxOwhpLsVQH+syUrIaXqLS44sw02RISxlncnQBXFheRgPi9dXyxB/RWMug== X-Received: by 2002:a0c:aacd:: with SMTP id g13mr6566480qvb.41.1619805590772; Fri, 30 Apr 2021 10:59:50 -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 v19sm2102911qkp.65.2021.04.30.10.59.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 30 Apr 2021 10:59:50 -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> Organization: Red Hat Message-ID: Date: Fri, 30 Apr 2021 13:59:49 -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: <93ab3888-25db-4582-ce6a-c7a91ac14417@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/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. -- Cheers, Carlos.