Skip to main content

unmetafy

Function unmetafy 

Source
pub fn unmetafy(bytes: &[u8]) -> Vec<u8> ⓘ
Expand description

Undo zsh’s internal “metafication”: bytes in its token range are stored as 0x83 followed by the byte XOR 0x20. Most CJK and emoji UTF-8 sequences contain such bytes, so history written by zsh must be decoded before use.