Skip to content
New issue

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

Multibyte characters not properly parsed #110

Closed
mcpcpc opened this issue Mar 23, 2021 · 0 comments · Fixed by #111
Closed

Multibyte characters not properly parsed #110

mcpcpc opened this issue Mar 23, 2021 · 0 comments · Fixed by #111
Assignees
Labels
bug Something isn't working

Comments

@mcpcpc
Copy link
Owner

mcpcpc commented Mar 23, 2021

This issue was originally reported by via email:

When typing the 'ñ' caracter (we are using spanish keyboards), and then deleting it, an strange ? appears.
We tried to change the locales but did not fix the issue. Do you know why this happens?

Extended ASCII characters, such as ñ, ń, ë, are considered multibyte characters and are not fully supported in the current kirc implementation. The end result is an incorrect column shift (which is calculated when strlen() returns 2 instead of 1 for a 2-byte character).

@mcpcpc mcpcpc added the bug Something isn't working label Mar 23, 2021
@mcpcpc mcpcpc self-assigned this Mar 23, 2021
@mcpcpc mcpcpc linked a pull request Mar 24, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant