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

Unicode #7

Closed
ghost opened this issue Jul 9, 2019 · 2 comments
Closed

Unicode #7

ghost opened this issue Jul 9, 2019 · 2 comments

Comments

@ghost
Copy link

ghost commented Jul 9, 2019

If you type Alt + 1 with cmd.exe you get:

U+263A WHITE SMILING FACE

https://codepoints.net/U+263A

However with yori.exe you get gibberish

@malxau
Copy link
Owner

malxau commented Jul 11, 2019

Thanks for the report. Alt+n (without a leading zero) is supposed to translate the ASCII character. I was using MultiByteToWideChar for this which looks like it's only going to translate the upper 128 chars, which kind of makes sense. I added a hacky translation table to do the low 32 chars in commit a66f4bf which I think should fix this.

@malxau
Copy link
Owner

malxau commented Oct 16, 2019

I just released 1.11 which should hopefully fully fix this. 1.10 fixed this but broke characters above 128 by using signed comparison (sigh.) 1.11 should work for both. Please let me know if there are any issues.

@malxau malxau closed this as completed Oct 16, 2019
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

1 participant