From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12796 invoked by alias); 26 Aug 2016 04:19:02 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 21811 Received: (qmail 23830 invoked from network); 26 Aug 2016 04:19:02 -0000 X-Qmail-Scanner-Diagnostics: from mail-oi0-f46.google.com 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(209.85.218.46):SA:0(1.1/5.0):. Processed in 0.349205 secs); 26 Aug 2016 04:19:02 -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=1.1 required=5.0 tests=DATE_IN_PAST_06_12, FREEMAIL_FROM,SPF_PASS,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.1 X-Envelope-From: jjuanino@gmail.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.218.46 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=j4OcmP6sYvE8Mg5mI8UpYpG1ElUxg5KX7qmhJ5LTBtQ=; b=FxsLRq053gr2m/kLBBEfo8RLmj/qtLTp45SN4gGQcHEYbFyJb0GoM6G+BTr32QysX5 6BSTjynkK87N9ECuKGXzA1QBzM6EkvckXZZWLtNMW4MlCsCJVWZxbFcMB8w/tEsdT/+z I60i9DBoYuGjoeNJCTR9fZ/qJ+pXOua/mtxPpw+R73SDCyfY10HZNuXNNQXUx5ejX9mZ VeriIM+9cMPUhjJgSrki8rLj8w1eg5HfCdlTT9DY7V8glNz/tg0ufPHIHQJWCFoptiqR tj8uw9cchj0Gt/8lQ1AxZIwQ6+49BrFDsWK4HY/JhqOrx0p53Na8YlNyAgiOIjIvwwSS 80bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=j4OcmP6sYvE8Mg5mI8UpYpG1ElUxg5KX7qmhJ5LTBtQ=; b=QT/wrtSBaZTWMhZJnlsRByJUCjyUypj7FKdAL/+5mVYHeLQg28MJGLg0hO4OqCCWUW 2mE5RHhKc9fCTefVH8svEBmWpK4PZndWPbLUqK3E9iIWKiP0UpjanxwlFv9RHL26HBkC DiK2QG01dcBPP/YANKI19rU78zORY+XjS29+eyswSnhYcHm7HaMl10bHQrldIrJGKkD4 aPkMNmaVvYhQNOr77TvOXYBg5uT8uTNYDAfxc1N2DNkVtBUt8sL59aTuh4E8UYVYe2OZ kSgUcszsQjNs/HBjHeulFSQBH7t5aJap1YalG6KnzT0LYfVgQxmp49KHbNqjkEdnl/m6 Mp8w== X-Gm-Message-State: AE9vXwN8WFZifVCS7vie/vzScySS7mO2CcmWkkp1fpoP3jQLNd1xnC9Cr0Xe2uu6fWXZEepDBoAGcWRCI7IZog== X-Received: by 10.202.195.1 with SMTP id t1mr8498186oif.144.1472159996905; Thu, 25 Aug 2016 14:19:56 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20160728151733.2e50329e@pwslap01u.europe.root.pri> References: <20160728151733.2e50329e@pwslap01u.europe.root.pri> From: =?UTF-8?B?Sm9zw6kgR2FyY8OtYSBKdWFuaW5v?= Date: Thu, 25 Aug 2016 23:19:56 +0200 Message-ID: Subject: =?UTF-8?Q?Re=3A_ZSH_display_raw_keycodes_for_=C2=A1_and_=C2=BF_spanish_c?= =?UTF-8?Q?haracters?= To: Peter Stephenson Cc: zsh-users@zsh.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 28 July 2016 at 16:17, Peter Stephenson wrote= : > On Wed, 27 Jul 2016 23:36:39 +0200 > Jos=C3=A9 Garc=C3=ADa Juanino wrote: >> after doing an upgrade of my FreeBSD operating system, zsh no longer >> display properly the followings spanish characters: =C2=A1 and =C2=BF. I= do not >> know if this annoying issue is FreeBSD specific. >> >> See the following screenshot: >> >> http://picpaste.com/exclamation-L21PZhNY.png >> >> When you type the '=C2=A1', I would expect that symbol in the interactiv= e >> shell, instead of '<00a1>' output. >> >> Any comment or advice will be welcome, and sorry my poor english. Best r= egards > > zsh uses the system library to determine what's a printable character. > > The most likely thing is a mismatch between the terminal input and the > display. The <00a1> indicates the character being input is probably > correct as that's the charater you want in ISO Latin and Unicode. > Possibly the LANG environment variable isn't set correctly. I'm > guessing it should be es_??.UTF-8 e.g. es_ES.UTF-8 for some variant of > Spanish. It's also possible the terminal isn't using the right > encoding, which you might be able to check in the terminal's > configuration, e.g. Terminal -> Set Character Encoding in > gnome-terminal. > > pws Thanks for your reply, and sorry for the delay of my response. The locales are aligned with my terminal. I use LANG=3Des_ES.ISO8859-15 and mrxrvt as terminal. Doing a further research I have found a workaround: disable-multibye in configure. But it is not a zsh fault, as multibyte was enabled in the previous FreeBSD release (10.3) and worked fine. I think that the upgrade of ncurses has triggered the issue, but I do not know exactly how. And I have discovered that other tools are affected also, as mutt pager: now display the "=C2=A1" character as raw code. Both tools (zsh and mutt) are linked with the same library: ncursesw.so.8. Best regards