tinyfugue icon indicating copy to clipboard operation
tinyfugue copied to clipboard

Issue with unicode and extra spaces

Open chosig opened this issue 12 years ago • 3 comments

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"

chosig avatar Feb 16 '13 05:02 chosig

Which branch?

kruton avatar Mar 31 '13 05:03 kruton

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 avatar Jun 22 '21 22:06 warmstarter

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.

warmstarter avatar Jun 24 '21 18:06 warmstarter