external encoding named "-" (doc issue or…?)
IO.new's document explicitly states that it accepts "-" as external encoding:
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 `<main>' 1: from -e:1:in `new' -e:1:in `initialize': unknown encoding name - - (ArgumentError)
Updated by shyouhei (Shyouhei Urabe) about 3 years ago
- Assignee set to stomar (Marcus Stollsteimer)
- Status changed from Open to Assigned
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.