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: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-4.0 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 16C611F6A9 for ; Sat, 5 Jan 2019 14:36:05 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:cc:message-id:in-reply-to :references:subject:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=b2aIYUE00nHTlfJd sIievIbVh3zhDwJ/y3HL2R+PY03vloeF/i9p7YLRAXxc2lFofncJx1GDfOop7R4x y1kePshg16IPvjdgJHWy3qALthXveMJcjrbPssMMaEkt8RCngUsece2xtQ6ZL3pZ 6WmH6afbMBp5Nf7dAkH0KR12/Y4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:cc:message-id:in-reply-to :references:subject:mime-version:content-type :content-transfer-encoding; s=default; bh=G8940jgg52WYDuRwxAp2Bl lI+KY=; b=VB2k8zmYkBkReOrs9bdMWqsbyD6t+2BHrSuYB7oZ1unDuMZrq20cb5 00wT1+SwsDzAVW76Jwy53FU466BkA0YrYPW0+4CnrxVhYTv/M1bS1ZplGfyLxsEB a3GvFaaqO8MAvsF0tebPQmeGkPIUXdfuFGu2OMAMNpUi9ssdkROxE= Received: (qmail 40747 invoked by alias); 5 Jan 2019 14:36:01 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 40724 invoked by uid 89); 5 Jan 2019 14:36:00 -0000 Authentication-Results: sourceware.org; auth=none X-HELO: shared-ano163.rev.nazwa.pl Date: Sat, 5 Jan 2019 15:35:02 +0100 (CET) From: Rafal Luzynski To: Egor Kobylkin , libc-alpha@sourceware.org, libc-locales@sourceware.org, Carlos O'Donell , Siddhesh Poyarekar Cc: Marko Myllynen , mfabian@redhat.com Message-ID: <2124833400.35614.1546698902753@poczta.nazwa.pl> In-Reply-To: References: <41532e13-a63d-5df1-ab37-05eb4d6c8d0a@kobylkin.com> <20180412224352.GB2911@altlinux.org> Subject: Re: [PATCH v12] Locales: Cyrillic -> ASCII transliteration [BZ #2872] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 2.01.2019 19:38 Egor Kobylkin wrote: > > Changelog v12: > [...] > > Changelog v11: > * Re-targeted the patch against locale/C-translit.h.in as the proper > file for the ASCII translit table. > * Correspondingly the patch now only contains the additional > Cyrillic-ASCII strings in the format of locale/C-translit.h.in table. > The 'include "translit_cyrillic";""' directives are not necessary in the > locale files and they are now all left intact. > * Also the file translit_cyrillic is not longer needed and is omitted. > * Edited below email, commit message. > [...] I have tested this and, unfortunately, now this transliteration works *only* in C locale, that is, only when no locale is set or when it is explicitly set to C (C.UTF8, POSIX). It does not work when locale is set to anything different, including en_US, ru_RU, etc. I'm sorry for confusing you. I think that either we should revert back to the older versions of your patch to make all locales supported or merge those two versions to make the transliteration work both in C and in all (almost all) other locales. Unfortunately, C locale is not a base for all other locales and is not included, it is only a fallback when a locale does not provide its own data (that is, when it does not provide any transliteration table at all). Regards, Rafal