Project

General

Profile

Actions

Bug #1475

closed

ruby -w warns about encoding for the wrong file

Added by drbrain (Eric Hodel) almost 15 years ago. Updated almost 13 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.2dev (2009-05-13 trunk 23418) [i386-darwin9.7.0]
Backport:
[ruby-core:23469]

Description

=begin
$ cat a.rb
require 'b'
$ cat b.rb

here is a comment

-- coding: UTF-8 --

$ ruby19 -vw a.rb
ruby 1.9.2dev (2009-05-13 trunk 23418) [i386-darwin9.7.0]
a.rb:1: warning: encoding 'UTF-8' is ignored, valid only in the first line except for shebang line.
=end

Actions #1

Updated by nobu (Nobuyoshi Nakada) almost 15 years ago

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

=begin
Applied in changeset r23435.
=end

Actions

Also available in: Atom PDF

Like0
Like0