Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Shared history and locales (charmap)



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