Last Updated: February 25, 2016
·
1.949K
· benben

Adding UTF-8 character support to pry

To add UTF-8 character support to pry, compile your ruby like this:

$ RUBY_CONFIGURE_OPTS="--with-readline-dir=`brew --prefix readline`" rbenv install 2.0.0-p195

now you can do

$ pry
[1] pry(main)> str = 'äöüß'
=> "äöüß"

1 Response
Add your response

Thanks for this.

over 1 year ago ·