summaryrefslogtreecommitdiff
path: root/spec/ruby
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2024-08-29 19:25:04 -0400
committerAlan Wu <XrXr@users.noreply.github.com>2024-08-29 20:20:26 -0400
commit554098303dd70adbe611eac5507277560bfa299a (patch)
tree00724ae308ffff7061e9106d38d066e7081e88c4 /spec/ruby
parentb1c569c1936bc644e99b5892b5fc0e522b0816d9 (diff)
[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.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/11505
Diffstat (limited to 'spec/ruby')
0 files changed, 0 insertions, 0 deletions