From: shyouhei@... Date: 2017-07-15T02:24:16+00:00 Subject: [ruby-core:82072] [Ruby trunk Bug#13655][Assigned] external encoding named "-" (doc issue or…?) Issue #13655 has been updated by shyouhei (Shyouhei Urabe). Status changed from Open to Assigned Assignee set to stomar (Marcus Stollsteimer) We looked at this issue at yesterday's developer meeting and none of attendees remembered there has been any plans to have this feature. It seems to be a doc issue. Please delete this part. ---------------------------------------- Bug #13655: external encoding named "-" (doc issue or���?) https://bugs.ruby-lang.org/issues/13655#change-65804 * Author: shyouhei (Shyouhei Urabe) * Status: Assigned * Priority: Normal * Assignee: stomar (Marcus Stollsteimer) * Target version: 2.5 * ruby -v: ruby 2.5.0dev (2017-06-09 trunk 59055) [x86_64-darwin15] * Backport: 2.2: REQUIRED, 2.3: REQUIRED, 2.4: REQUIRED ---------------------------------------- IO.new's document explicitly states that it accepts "-" as external encoding: https://github.com/ruby/ruby/blob/d0015e4ac6b812ea1681b1f5fa86fbab52a58960/io.c#L7790 which is not true. ``` % ruby -ve 'IO.new(0, external_encoding: "-")' ruby 2.5.0dev (2017-06-09 trunk 59055) [x86_64-darwin15] Traceback (most recent call last): 2: from -e:1:in `
' 1: from -e:1:in `new' -e:1:in `initialize': unknown encoding name - - (ArgumentError) ``` -- https://bugs.ruby-lang.org/ Unsubscribe: