Can't input Chinese or Unicode characters
Author: yetrunCreated Sep 20, 2022Updated May 4, 2024
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+FFBDMy pry version is:
$ pry -v
Pry version 0.14.1 on Ruby 2.7.6And the visual behavior can be found in following video file:
Source: pry/pry