Project

General

Profile

Bug #1111

-E and -K on shbang

Added by Usaku NAKAMURA about 7 years ago. Updated almost 5 years ago.

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

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 about 7 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