Get pry to display characters like [äöüßÄÖÜß] (utf-8 encoding)? (Possibly Windows-specific issue?)

后端 未结 1 874
广开言路
广开言路 2021-01-06 05:42

[All the scripts I\'m working with with these German characters are in UTF-8 themselves, have #encoding: utf-8 at the top (and Encoding.external_defau

相关标签:
1条回答
  • 2021-01-06 06:19

    I know that if you install Ruby with readline support, then you doesn't have this problem. To do so you will need something like this if you are using rbenv (with ruby-build):

    RUBY_CONFIGURE_OPTS="--with-readline-dir=`brew --prefix readline`" rbenv install 1.9.3
    

    I don't know if there are other solutions though.

    0 讨论(0)
提交回复
热议问题