[PRISM] For stdin scripts, use locale encoding
For example:
$ echo 'p __ENCODING__' | LANG=C ruby #<Encoding:US-ASCII>
But, allow -K to override the source encoding. Found by running spec/ruby/language/magic_comment_spec.rb with LANG=C.
[PRISM] For stdin scripts, use locale encoding
For example:
But, allow -K to override the source encoding.
Found by running spec/ruby/language/magic_comment_spec.rb with LANG=C.