You are not logged in.

#1 2018-07-04 21:34:54

dasty
Member
Registered: 2013-08-19
Posts: 11

ZSH and unicode characters direct input

Hi, i have a strange behaviour from zsh.

Doing some tests I realized that zsh returns an error when I try to insert some unicode characters, not all.

I am using some powerline patched fonts.

If for example i do echo -e '\ue0b4' there is not problem the character is printed correctly.

If i do ctrl + shit + ue0b4 then instead of the correct character zsh return <b4> in inverted colours (the resulting error can be from <00> to <ff>).
This mean "multibyte or extended character invalid or incomplete".

This error is for all codes in range of E000-E0FF. All other codes seems to work.

In bash all work as expected.

Locale LANG is it_IT.UTF-8.

I have tried different terminal and with empty .zshrc the error is always the same.

Can be an bug of zsh or i'm missing something?

Offline

Board footer

Powered by FluxBB