zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@csr.com>
To: zsh-workers@sunsite.dk
Subject: Re: Multibyte test fails on MacOSX Leopard
Date: Wed, 27 Feb 2008 10:34:56 +0000	[thread overview]
Message-ID: <20080227103456.6d0e46ff@news01> (raw)
In-Reply-To: <19e566510802261300s13d728ebv3333c812b1ad8d52@mail.gmail.com>

On Tue, 26 Feb 2008 23:00:16 +0200
"İsmail Dönmez" <ismail@namtrac.org> wrote:
> Hi all,
> 
> Using MacOSX Leopard 10.5.2 with latest CVS I get,
> 
> Testing multibyte with locale en_US.UTF-8
> *** /tmp/zsh.ztst.out.91960	2008-02-26 22:58:32.000000000 +0200
> --- /tmp/zsh.ztst.tout.91960	2008-02-26 22:58:32.000000000 +0200
> ***************
> *** 1,2 ****
> ! HAH HEH HÉH HÈH HUH
>   HAH HEH HUH HÈH HÉH
> --- 1,2 ----
> ! HAH HEH HUH HÈH HÉH
>   HAH HEH HUH HÈH HÉH
> Test ./D07multibyte.ztst failed: output differs from expected as shown
> above for:
>   print -oi HAH HUH HEH HÉH HÈH
>   (LC_ALL=C; print -oi HAH HUH HEH HÉH HÈH)
> Was testing: Multibyte characters in print sorting
> 
> 
> Did anyone see this before? I don't see any functional problem with
> respect to multibyte handling but I think its a good idea to report
> this anyway.

Yes, it looks like the collation sequence for accented characters is
different in your library.  It's a nuisance since that leaves no way of
testing this---it's already forced into en_US.UTF-8 which gives the
expected answer on other systems.

We might be able to compare the output of "sort", I suppose, but that does
rely on sort being internationalized.  It's probably a reasonable bet if
we've got this far.

-- 
Peter Stephenson <pws@csr.com>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070


  reply	other threads:[~2008-02-27 10:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-26 21:00 İsmail Dönmez
2008-02-27 10:34 ` Peter Stephenson [this message]
2008-02-27 19:37   ` Peter Stephenson
2008-02-27 21:12     ` İsmail Dönmez

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=20080227103456.6d0e46ff@news01 \
    --to=pws@csr.com \
    --cc=zsh-workers@sunsite.dk \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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 NNTP newsgroup(s).