From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15250 invoked by alias); 30 Jan 2017 03:59:58 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 40461 Received: (qmail 12720 invoked from network); 30 Jan 2017 03:59:58 -0000 X-Qmail-Scanner-Diagnostics: from park01.gkg.net by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(205.235.26.22):SA:0(-2.7/5.0):. Processed in 4.123685 secs); 30 Jan 2017 03:59:58 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_SORBS_SPAM,RP_MATCHES_RCVD,T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: SRS0=SNcu=ZM=brasslantern.com=schaefer@bounces.park01.gkg.net X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: none (ns1.primenet.com.au: domain at bounces.park01.gkg.net does not designate permitted sender hosts) X-Virus-Scanned: by amavisd-new at gkg.net Authentication-Results: amavisd4.gkg.net (amavisd-new); dkim=pass (2048-bit key) header.d=brasslantern-com.20150623.gappssmtp.com X-Greylist: from auto-whitelisted by SQLgrey-1.8.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-transfer-encoding; bh=iByaXCcNuUBwtoRH+XR+YcYd4+RSY4SW4ENaljUGex0=; b=WJL+CAi+U7HaB7eyzYDy2BaZlfSZJR0DuDP/7znKSwAT9W8lOTzfinzcK5eiZ4k0Ny RnThznjqATfdo6wJU6b7WoPGZxlvOw3/KGKM3on58hZmBNT1fdmMlNrgON1rQDYWuhAW GxIqmyu/ITQDbpo23wq6gzktryhK4ngOS2e/aWhUEnHyKSjmjZSl/QcHIbFEWRr2UuAC skxK1AiVpgX2ocVU172VdUWWTP8ntw2ao3gHLIWxXNnKoJJwQoO/hJVVAPXSS1dry2B2 gO3YKBN2fx63I5oeV/nWJbxoOuZwh/QuMT29mSY96hxOSU7f5f+k0xw0Z/AI0zV7uUyL 4Z9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-transfer-encoding; bh=iByaXCcNuUBwtoRH+XR+YcYd4+RSY4SW4ENaljUGex0=; b=m5egmSOQ3cxg5Y+26FhxOzNb/balzU6JvMrRkVJUb1vqyF+XUt/k8+wOu/Hheg10P3 W+n0FZ6/87nyZoW9tCeAZ4+FivAjOAIDLtC37NcMZXOXJWXl5v8DXJ2RZqUR94RjLFdq yq0BGEEBxS3LGUQ2URqEQX/++hWV/O5VonljBa5tGni+CTZwKXCXjYml/H5BTFkbY8FX Veg/6sOmXopISjTBR62N5k5m7xY1l7ZWKYB18KKc2dep5TlHTrn1cIdvnStphboD9YDV av0Sw9+j+MFheZ0xTzh8VxFug69rdzE2qxy/+2NEUHGGTcy4x37UQI7LKbfc+TwGKqyM bhdg== X-Gm-Message-State: AIkVDXKEzyqINZcDf9LAK5oRKzEgAhYZ6D8MQWJSwNv4eHRq5YTabLjiz26DhFGNfKRKosPB7rKvgbg8Pi6reQ== X-Received: by 10.55.91.197 with SMTP id p188mr14461906qkb.197.1485748761906; Sun, 29 Jan 2017 19:59:21 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: From: Bart Schaefer Date: Sun, 29 Jan 2017 19:59:21 -0800 Message-ID: Subject: Re: UTF-8 locales on BSDs do not support collation correctly To: "zsh-workers@zsh.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable This thread sort of got hijacked by the utmpx issue, so we never got to a resolution on the collation question that started it. Is this just an issue with the test or is there a real problem here? Testing multibyte with locale en_US.UTF-8 --- /tmp/zsh.ztst.16197/ztst.out 2017-01-29 19:41:31.000000000 -0800 +++ /tmp/zsh.ztst.16197/ztst.tout 2017-01-29 19:41:31.000000000 -0800 @@ -1,2 +1,2 @@ -a =C4=85 b c =C4=87 d e =C4=99 f -a =C4=85 b c =C4=87 d e =C4=99 f +a b c d e f =C4=85 =C4=87 =C4=99 +a b c d e f =C4=85 =C4=87 =C4=99 Test ./D07multibyte.ztst failed: output differs from expected as shown abov= e On Wed, Jan 25, 2017 at 6:27 AM, Jun T. wrot= e: > After the commit: > > commit 0e33ebc6514c8719513f3f20161274f6af2caffc > Author: Mikael Magnusson > Date: Tue Jan 24 12:01:57 2017 +0100 > > posted: Make D07 recognize more spellings of pl_PL.UTF-8 > > diff --git a/Test/D07multibyte.ztst b/Test/D07multibyte.ztst > (snip) > - if [[ -n ${$(locale -a 2>/dev/null)[(R)pl_PL.utf8]} ]]; then > + if [[ -n ${$(locale -a 2>/dev/null)[(R)pl_PL.(utf8|UTF-8)]} ]]; then > > > the test D07multibyte.ztst fails on macOS and freeBSD. > On these OSs (and maybe on other BSDs), the locale pl_PL.UTF-8 exists > but it does not support collation correctly (it just uses ASCII collation= ). > > Are there any OS which uses UTF-8 (instead of utf8) for locale name > and supports the collation correctly?