use pry console ,can not use chinese character #867

Closed
kewinwang opened this Issue Mar 1, 2013 · 2 comments

Comments

Projects
None yet
5 participants
wenchao@kewinwang:~$ irb
irb(main):001:0> "你好"
=> "你好"
irb(main):002:0> exit
wenchao@kewinwang:~$ pry
[1] pry(main)> "������"
=> "\xE4\xBD\xA0\xE5\xA5\xBD"
[2] pry(main)> 


Contributor

rking commented Mar 1, 2013

@kewin2010 — What pry version?

I'm not replicating the problem on 0.9.12 or master branch.

rf- added the bug label Apr 29, 2014

Contributor

jwworth commented Oct 16, 2015

Unable to reproduce on pry version 0.10.2.

% pry -v
Pry version 0.10.2 on Ruby 2.2.3
% pry
[1] pry(main)> '你好'
=> "你好"

kyrylo closed this Oct 16, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment