🔍
🏠
Stack Overflow
🎲
Stack Exchange
Stack Overflow
Questions
Tags
Users
About
Stack Overflow
Public
Questions
Tags
Users
About
How do I declare a source file's encoding in Rubinius?
Asked
Apr 03 '15 at 03:23
Active
Apr 03 '15 at 03:23
Viewed
25 times
1
In MRI and JRuby I can do this:
# encoding: utf-8
This doesn't seem to work in rubinius.
ruby
rubinius
asked Apr 03 '15 at 03:23
John Bachir
22,495
29
154
227
Setting the default encoding with a comment at the top of the file works for me with rubinius-2.5.2. What version are you using and what code are you using to reproduce the problem?
–
infused
Apr 03 '15 at 04:29
@infused https://github.com/rubinius/rubinius/issues/3370
–
John Bachir
Apr 03 '15 at 15:21
0 Answers
0