Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Shared history and locales (charmap)
- X-seq: zsh-workers 24209
- From: Vincent Lefevre <vincent@xxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Shared history and locales (charmap)
- Date: Tue, 11 Dec 2007 14:54:12 +0100
- Mail-followup-to: zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
Another problem: When using different locales (e.g. ISO-8859-1 and
UTF-8) and a shared history, zsh isn't able to correctly retrieve
the command, as locale information isn't stored in the history file.
IMHO, there should be an option so that the history is stored and
retrieved in UTF-8. And if for some reason, zsh finds an invalid
UTF-8 sequence in the history, it should use the current charmap
as a fallback. In practice, this would allow zsh to continue to
work with old history files.
--
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author