unofficial mirror of libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Carlos O'Donell <carlos@redhat.com>
To: Mike FABIAN <mfabian@redhat.com>, libc-alpha@sourceware.org
Cc: "Dmitry V. Levin" <ldv@altlinux.org>
Subject: Re: [Patch v4 6/14] [BZ #14095] update collation data from Unicode / ISO 14651
Date: Mon, 26 Feb 2018 10:14:15 -0800	[thread overview]
Message-ID: <e53a356b-6fe4-0afe-358b-b71d8a56b55f@redhat.com> (raw)
In-Reply-To: <s9dzi3vaiw9.fsf@taka.site>

On 02/26/2018 07:08 AM, Mike FABIAN wrote:
> From b517dae2da9fa61acd31053d3bf150141f20611e Mon Sep 17 00:00:00 2001
> From: Mike FABIAN <mfabian@redhat.com>
> Date: Wed, 31 Jan 2018 06:18:47 +0100
> Subject: [PATCH 06/14] iso14651_t1_common: make the fourth level the codepoint
>  for characters which are ignorable on all 4 levels
> MIME-Version: 1.0
> Content-Type: text/plain; charset=UTF-8
> Content-Transfer-Encoding: 8bit
> 
> Entries for characters which have “IGNORE” on all 4 levels like:
> 
>  <U0001> IGNORE;IGNORE;IGNORE;IGNORE % START OF HEADING (in ISO 6429)
> 
> are changed into:
> 
>  <U0001> IGNORE;IGNORE;IGNORE;<U0001> % START OF HEADING (in ISO 6429)
> 
> i.e. putting the code point of the character into the fourth level
> instead of “IGNORE”. Without that change, all such characters
> would compare equal which would make a wcscoll test case fail.
> It is better to have a clearly defined sort order even for characters
> like this so it is good to use the code point as a tie-break.
> 
> 	* localedata/locales/iso14651_t1_common: Use the code point of a character
> 	in the fourth collation level instead of IGNORE for all entries which
> 	have IGNORE on all 4 levels.

LGTM.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>

-- 
Cheers,
Carlos.


      reply	other threads:[~2018-02-26 18:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-26 15:08 [Patch v4 6/14] [BZ #14095] update collation data from Unicode / ISO 14651 Mike FABIAN
2018-02-26 18:14 ` Carlos O'Donell [this message]

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

  List information: https://www.gnu.org/software/libc/involved.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e53a356b-6fe4-0afe-358b-b71d8a56b55f@redhat.com \
    --to=carlos@redhat.com \
    --cc=ldv@altlinux.org \
    --cc=libc-alpha@sourceware.org \
    --cc=mfabian@redhat.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).