We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The pasting code iterates over the bytes we read from wl-paste/xclip and that breaks when you try to paste multibyte sequences:
wl-paste
xclip
bemenu/lib/menu.c
Lines 1199 to 1203 in 5bc8a6c
As an example, select this character: ö and try to paste it.
ö
The code calls bm_unicode_insert(), which expects unicode codepoints, not raw bytes. We have to UTF-8-decode the whole string first.
bm_unicode_insert()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The pasting code iterates over the bytes we read from
wl-paste
/xclip
and that breaks when you try to paste multibyte sequences:bemenu/lib/menu.c
Lines 1199 to 1203 in 5bc8a6c
As an example, select this character:
ö
and try to paste it.The code calls
bm_unicode_insert()
, which expects unicode codepoints, not raw bytes. We have to UTF-8-decode the whole string first.The text was updated successfully, but these errors were encountered: