I have a chinese string 您好我的男人. When I copy and paste this in my ruby console to assign it to a variable I get this
i = \U+FFE7\U+FFE7\U+FFB7\U+FFE4\U+FFBA\U+FFBA
Very wierd issue.
I have a chinese string 您好我的男人. When I copy and paste this in my ruby console to assign it to a variable I get this
i = \U+FFE7\U+FFE7\U+FFB7\U+FFE4\U+FFBA\U+FFBA
Very wierd issue.
It is related to readline
issue. Just reinstall your ruby version it will work.
Example you're working on ruby 1.9.3
:
rbenv install 1.9.3
or
rvm reinstall 1.9.3