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 = 'äöüß'
=> "äöüß"
Written by Benjamin Knofe
Related protips
1 Response
Thanks for this.
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#