zsh-workers
 help / color / mirror / code / Atom feed
From: Mikael Magnusson <mikachu@gmail.com>
To: zsh workers <zsh-workers@zsh.org>
Subject: Re: zsh generates invalid UTF-8 encoding in the history
Date: Wed, 5 Oct 2016 14:41:26 +0200	[thread overview]
Message-ID: <CAHYJk3TvMyW05V7aXOvX2s1u-BMtFCx6-4GBRHj25FeJ_OBaDg@mail.gmail.com> (raw)
In-Reply-To: <20161005114848.GA1125@cventin.lip.ens-lyon.fr>

On Wed, Oct 5, 2016 at 1:48 PM, Vincent Lefevre <vincent@vinc17.net> 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


  reply	other threads:[~2016-10-05 18:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-05 11:48 Vincent Lefevre
2016-10-05 12:41 ` Mikael Magnusson [this message]
2016-10-06 18:31   ` Bart Schaefer
2016-10-07  8:57     ` Vincent Lefevre
2016-10-07 17:01       ` Bart Schaefer
2017-11-29 15:46         ` Vincent Lefevre
2016-10-05 17:25 ` Bart Schaefer

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=CAHYJk3TvMyW05V7aXOvX2s1u-BMtFCx6-4GBRHj25FeJ_OBaDg@mail.gmail.com \
    --to=mikachu@gmail.com \
    --cc=zsh-workers@zsh.org \
    /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).