marlonrichert / zsh-hist

📝 Edit your Zsh history from the command line.
MIT License
148 stars 13 forks source link

Problems with unicode characters #12

Closed cjk closed 3 years ago

cjk commented 3 years ago

First: this is a great plugin which I use every day, thanks for making it available!

I noticed I can no longer work with (German, in my case) Unicode-characters after loading zsh-hist, here is what happens:

Without this plugin:

❯ echo 'ß'
ß

Same command with zsh-hist loaded:

❯ echo 'Ã<bf>'
Ã

...which then breaks programs like grep searching for Umlauts or similar.

This behavior is reproducible even in a clean zsh-environment as described here

marlonrichert commented 3 years ago

Thanks for reporting. I can reproduce this and I will publish a fix soon.

marlonrichert commented 3 years ago

Fixed.

cjk commented 3 years ago

Works now, thanks!