Project

General

Profile

Backport #4201

open fails with Encoding object

Added by nobu (Nobuyoshi Nakada) over 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
[ruby-dev:42884]

Description

=begin
open("foo", encoding: Encoding::US_ASCII) が例外になります。
encoding:がexteranl_encoding:やinternal_encoding:なら動作します。
=end

History

#1

Updated by nobu (Nobuyoshi Nakada) over 8 years ago

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

=begin
This issue was solved with changeset r30349.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

=end

#2

Updated by nobu (Nobuyoshi Nakada) over 8 years ago

  • Status changed from Closed to Assigned
  • Assignee changed from nobu (Nobuyoshi Nakada) to yugui (Yuki Sonoda)
  • Priority changed from 5 to Normal

=begin

=end

#3

Updated by yugui (Yuki Sonoda) over 8 years ago

  • Status changed from Assigned to Closed

=begin
This issue was solved with changeset r30555.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


merges r30349 from trunk into ruby_1_9_2.
--

  • io.c (rb_io_extract_encoding_option): accept Encoding object as encoding: optional argument. [ruby-dev:42884] =end

Also available in: Atom PDF