From: Mikael Magnusson <mikachu@gmail.com>
To: Alexander Voikov <alex-voikov@yandex.ru>
Cc: zsh workers <zsh-workers@zsh.org>
Subject: Re: [bug] history corrupt on utf8
Date: Sun, 23 Jun 2013 04:06:57 +0200 [thread overview]
Message-ID: <CAHYJk3RqD-JfWKUeG08Atrbhcoz9XZEXvBP_b_cP21EMy5RunA@mail.gmail.com> (raw)
In-Reply-To: <20130622184554.GA32128@adz-acer>
The history file isn't saved verbatim, since the command line can
contain non-utf8, nuls, etc.
On 22 June 2013 20:45, Alexander Voikov <alex-voikov@yandex.ru> wrote:
> % echo "АБВГДабвгд"
> АБВГДабвгд
>
> % tail -n 2 ~/.zsh_history
> : 1371926671:0;echo "Ѓ�Ѓ�Ѓ�Ѓ�Ѓ�абвгд"
>
> % zsh --version
> zsh 5.0.2 (x86_64-pc-linux-gnu)
>
> Debian Testing
>
>
>
>
--
Mikael Magnusson
next prev parent reply other threads:[~2013-06-23 2:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-22 18:45 Alexander Voikov
2013-06-23 2:06 ` Mikael Magnusson [this message]
2013-06-23 18:33 ` Bart Schaefer
2013-06-23 21:24 ` Mikael Magnusson
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=CAHYJk3RqD-JfWKUeG08Atrbhcoz9XZEXvBP_b_cP21EMy5RunA@mail.gmail.com \
--to=mikachu@gmail.com \
--cc=alex-voikov@yandex.ru \
--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).