问题描述
问题:
作为一名德国开发人员,我的字符串,注释等中经常包含Umlaute。将其粘贴到Rails控制台时,尽管它使提示没有响应。只能通过退出并重新启动rails-console来解决此问题
请求:
我可以通过任何方式配置或修复控制台,使其接受特殊字符作为输入
示例:
# paste in console to render it useless
def is_a_test
puts "it's a string with ä ö and ü"
end
在控制台上导致此问题:
irb(main):004:0> # paste in console to render it useless
=> nil
irb(main):005:0> def is_a_test
irb(main):006:1> puts "it's a string with
irb(main):007:1"
irb(main):008:1" ^C
irb(main):008:0>
预先感谢
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)