Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [bug] history corrupt on utf8
- X-seq: zsh-workers 31489
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Alexander Voikov <alex-voikov@xxxxxxxxx>
- Subject: Re: [bug] history corrupt on utf8
- Date: Sun, 23 Jun 2013 04:06:57 +0200
- Cc: zsh workers <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=gdDmR06SW77lukl5OJU21pZxWoqjhEaFUiYmHYU/to4=; b=ZlNIyEQ1gd+7FiiQ0QZXkBQppROHYiXR8Ox0XIFCv/wAEVLFfbF1BF0B9QqtlxY3zJ 0NAFQEin0GJv/NVxLuV8kVn7asthPFwb0Dl04xb6LYdahCRPy/Obchqo3ngbDOpmsDXJ GWcVV3Wvormnl1kqzwgAUYAh3oK6AfV2LTLgeFPMYttp/bUgHubb7VOOkE0d5lszM7DK tl3ojuTkV2agKvWNvflTGCTZSZZetUnrlaPyAVT/uv2LHvFmrjBmpET+cUcFi3/+FR7F 6xKAt8khFp9cv4HRehmDq7dzomSvUFWnuVAwsN3/IcggmX7f5fkiah5YPWC619So0ivd 54Og==
- In-reply-to: <20130622184554.GA32128@adz-acer>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <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@xxxxxxxxx> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author