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

Can't input Chinese or Unicode characters #2258

Open
yetrun opened this issue Sep 20, 2022 · 2 comments
Open

Can't input Chinese or Unicode characters #2258

yetrun opened this issue Sep 20, 2022 · 2 comments

Comments

@yetrun
Copy link

yetrun commented Sep 20, 2022

I can't input Chinese charaters in my Mac OS system. It is normal in irb but abnormal in pry. When I input Chinese charaters, it outputs some invalid characters like:

U+FFE4\U+FFBD\U+FFA0\U+FFE5\U+FFA5\U+FFBD

My pry version is:

$ pry -v
Pry version 0.14.1 on Ruby 2.7.6

And the visual behavior can be found in following video file:

2022-09-20.16.27.12.mov
@nmingotti
Copy link

Agreed, same problem in Debian 11 stable, default package version of Ruby and Pry. Can't type in Unicode.

@oOosys
Copy link

oOosys commented May 4, 2024

I am getting in case of AltGr+] instead of » two characters: » on Linux Mint 21.2 Xfce in all Terminals where typing it outside of pry is OK, so it is limited to pry ... in both the Pry version 0.14.2 on Ruby 3.0.2 and Pry version 0.13.1 on Ruby 3.0.2 . In irb all works as it should.

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