ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
From: shyouhei@ruby-lang.org
To: ruby-core@ruby-lang.org
Subject: [ruby-core:82072] [Ruby trunk Bug#13655][Assigned] external encoding named "-" (doc issue or…?)
Date: Sat, 15 Jul 2017 02:24:16 +0000 (UTC)	[thread overview]
Message-ID: <redmine.journal-65804.20170715022414.5a4d0cfe52c3cd2e@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-13655.20170613160628@ruby-lang.org

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 `<main>'
        1: from -e:1:in `new'
-e:1:in `initialize': unknown encoding name - - (ArgumentError)
```



-- 
https://bugs.ruby-lang.org/

  parent reply	other threads:[~2017-07-15  2:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <redmine.issue-13655.20170613160628@ruby-lang.org>
2017-06-13 16:06 ` [ruby-core:81665] [Ruby trunk Bug#13655] external encoding named "-" (doc issue or…?) shyouhei
2017-06-14  5:23 ` [ruby-core:81679] " nobu
2017-07-15  2:24 ` shyouhei [this message]
2018-03-19 16:27 ` [ruby-core:86202] " nagachika00
2018-03-28  4:45 ` [ruby-core:86342] " usa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.ruby-lang.org/en/community/mailing-lists/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=redmine.journal-65804.20170715022414.5a4d0cfe52c3cd2e@ruby-lang.org \
    --to=ruby-core@ruby-lang.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).