From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26372 invoked by alias); 5 Oct 2016 18:03:23 -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: 39575 Received: (qmail 18852 invoked from network); 5 Oct 2016 18:03:23 -0000 X-Qmail-Scanner-Diagnostics: from mail-qk0-f172.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.220.172):SA:0(1.1/5.0):. Processed in 0.291653 secs); 05 Oct 2016 18:03:23 -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_03_06, FREEMAIL_FROM,SPF_PASS,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.1 X-Envelope-From: mikachu@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.220.172 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; bh=MF9N+NaAcF88s1+m0OYojGlnhzsItfiy99RK1ucwkTo=; b=xI4uhm0igB0xXkhSVQnWCQm6+s5VqOzHZwQcQALkLr9/8UzPRJYdb8uAnhtTlaW2Rd /UAv4O2UqZ/s4+R0fWm+5jUkT1F06FJ03231Rd+mW+SHjMSXhawCTRpMa8QHNqd4O+YB 6vJEjbUFF1V3WZ8Ng1Gq+PLdmMKjxbPWgDvgpMsBn41MEEdzPjLEdskA9K9GTaxjw3gJ BwparOqJGmjC72CQ0yAkYtb5C72T9LCDQajWrVXQBkJNoT+IdWYQP/sBeaFY5Wf4Gkk2 pLTtsmfpnWPrlOM249Oq6MiH8cMRI8Rg2ViiHquzJSSh9vjNmefm2zz+MdIY4/bsdZ6S V4aA== 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; bh=MF9N+NaAcF88s1+m0OYojGlnhzsItfiy99RK1ucwkTo=; b=HGsRtAChTfcnqBc2ga+d8k+c8v3HtFvPY1rpKMLerTNh3jo5IGN2mwqa+1oEdhDiV3 7TPbm4l7ndjHjCqKkxvHpwOj8ojODaxOuNxTv+DpV01Z9khZMUf+pgrDRLLv2cFsY/fl qURZtPMcdXfTNvUnAUPsgcUX6zbK1waCP7ivGlps9uKEt40rOvW89ObkVoXLayxGp+nK xocF9VbKSHNeA6PjHIqYgwkqt0DPXdgpi6/t2sEnfxog7YuKhXQFm10YHmfY7n+tAYXE SQgHLC5kh1XLYa0792oY95USFDJJDsXh1IVGhdc21Q6uiORV8WlzJ0NdwdJ4b2uQxLoa Q9yQ== X-Gm-Message-State: AA6/9Rliip0r2CU86KMWD+8PxhXZ9cz++LW5lwWSfrNEFDpEqJ2XlhuUCNSabDY0/mLWOLFtT4sk4bsDCghDAw== X-Received: by 10.55.20.155 with SMTP id 27mr9542195qku.179.1475671287448; Wed, 05 Oct 2016 05:41:27 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20161005114848.GA1125@cventin.lip.ens-lyon.fr> References: <20161005114848.GA1125@cventin.lip.ens-lyon.fr> From: Mikael Magnusson Date: Wed, 5 Oct 2016 14:41:26 +0200 Message-ID: Subject: Re: zsh generates invalid UTF-8 encoding in the history To: zsh workers Content-Type: text/plain; charset=UTF-8 On Wed, Oct 5, 2016 at 1:48 PM, Vincent Lefevre wrote: > With Debian's zsh 5.2-5 + some patches, when I execute commands with > some particular Unicode characters, the UTF-8 sequences are rewritten > incorrectly in the history. For instance: History entries are written in metafied form to the history file. You can use the 'history' command to print a readable version of history, or use this small utility http://mika.l3ib.org/code/unmetafy.c -- Mikael Magnusson