From: Mike FABIAN <mfabian@redhat.com>
To: Zack Weinberg <zackw@panix.com>
Cc: GNU C Library <libc-alpha@sourceware.org>,
Rafal Luzynski <digitalfreak@lingonborough.com>
Subject: Re: localedata linting revised again
Date: Tue, 29 Aug 2017 08:25:00 -0000 [thread overview]
Message-ID: <s9dh8wqzsre.fsf@redhat.com> (raw)
In-Reply-To: <CAKCAbMiGM6kN1QNrVuaqBQLFf6a4b_2t1frT_DZqwsH5NBDuAg@mail.gmail.com> (Zack Weinberg's message of "Mon, 28 Aug 2017 09:49:24 -0400")
Zack Weinberg <zackw@panix.com> wrote:
> I've revised my localedata linter to use iconv instead of python's
> built-in codecs, and to only complain about strings being
> unrepresentable if transliteration doesn't help.
>
> All of the remaining complaints are about strings that aren't NFC
> (full list at bottom of this message). Most, but not all, of these
> appear to be LC_COLLATE specifications for decomposed accented
> characters, which I would have expected to be handled generically for
> all languages (if there is a canonical equivalence between two
> codepoint sequences, then it seems intuitively obvious to me that they
> should always be treated the same for collation, perhaps with the
> actual code points used as a tiebreaker). But given the contents of
> the various files, apparently it isn't, and I think that's a bug.
>
> zw
>
> ---
[...]
> localedata/locales/de_DE:50: string not normalized:
> source: 0041 0308
> nfc: 00C4
Many of these are from custom transliteration rules.
In this case it is:
LC_CTYPE
copy "i18n"
translit_start
include "translit_combining";""
% German umlauts.
% LATIN CAPITAL LETTER A WITH DIAERESIS.
<U00C4> "<U0041><U0308>";"<U0041><U0045>"
That seems correct, doesnât it?
--
Mike FABIAN <mfabian@redhat.com>
next prev parent reply other threads:[~2017-08-29 8:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-28 13:49 Zack Weinberg
2017-08-29 8:25 ` Mike FABIAN [this message]
2017-08-29 8:33 ` Mike FABIAN
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=s9dh8wqzsre.fsf@redhat.com \
--to=mfabian@redhat.com \
--cc=digitalfreak@lingonborough.com \
--cc=libc-alpha@sourceware.org \
--cc=zackw@panix.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).