Closed onriv closed 2 years ago
I believe I'm having a similar problem, except that I'm stumbing into unicode problems on "normal" characters, not emoji.
You're right, I reproduced this issue. It's definitely a bug.
I think you have the right idea @onriv, but a better solution is to translate unmetafy
into Rust and handle it in the mcfly binary. I can see if I can figure it out, although my C pointer math is pretty stale.
Found someone translated it: https://github.com/adder46/hstr-rs/blob/master/src/hstr.rs#L55 . I have never been programming with rust before. May it be helpful
Thanks!
Does #193 work for you?
@cantino hi, it works! Thanks a lot!
Thanks!
Released in 0.5.10.
zsh seems containing a special encoding in its history format: http://www.zsh.org/mla/users/2011/msg00154.html, and currently it seems making that mcfly cannot handle some characters correctly. For example:
And the problem seems solved via decoding the zsh history first: