So listing of main.rb
hello_world = "привет мир"
Ruby main.rb says:
invalid multibyte char (US-ASCII)
As I know Default Far Manager encoding is cp1251.
But all googling links tell only about next magic comment:
# coding: utf-8
I have tried this but got next:
invalid multibyte char (UTF-8)
So if you are using Far. Magic comment is:
# coding: cp1251
2 комментария(ев):
I had similar problem. To fixed it I used ruby 1.8.7 with gem named unicode.
Far Not support Unicode :(
Sad But True
Post a Comment