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

Issue with unicode and extra spaces #8

Open
chosig opened this issue Feb 16, 2013 · 3 comments
Open

Issue with unicode and extra spaces #8

chosig opened this issue Feb 16, 2013 · 3 comments

Comments

@chosig
Copy link

chosig commented Feb 16, 2013

When you write something that is past Z it adds an extra space to the input line, if you delete that you end up with random letters removed -- but it sends the string as it should

"Björn köper smör på lördag"
becomes
"Bjö rn kö per smö r på lö rdag"

@kruton
Copy link
Owner

kruton commented Mar 31, 2013

Which branch?

@warmstarter
Copy link
Contributor

I think configuring you client to send ^H instead of ^? for backspace will fix this problem for the most part. There are some related bug that are more severe, but that should hande that.

@warmstarter
Copy link
Contributor

Just added some changes that might help somewhat with this. In addition, I've found configuring my terminal to send ^H instead of ^? fixes a fair amount of issues with non-ASCII characters.

The issue has to do with the fact that UTF8 characters can be made-up of multiple bytes. It's something where most computer programs and languages get something wrong with the implementation. Working on getting it as good as I can.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants