Bug #1111

-E and -K on shbang

Added by Usaku NAKAMURA over 6 years ago. Updated over 4 years ago.

[ruby-dev:37920]
Status:Closed
Priority:Normal
Assignee:-
ruby -v:ruby 1.9.2dev (2009-02-05 trunk 22074) [i386-netbsdelf] Backport:

Description

=begin
shbang行の-Eや-KがEncoding.default_externalに作用していません。
プラットフォーム依存なし、1.9.1p0でも再現します。

% cat foo.rb
#!ruby -Ku
p Encoding.default_external

% LANG= ruby aaa.rb
#Encoding:US-ASCII
=end

History

#1 Updated by Usaku NAKAMURA over 6 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
Applied in changeset r22085.
=end

Also available in: Atom PDF