Project

General

Profile

Actions

Backport #4201

closed

open fails with Encoding object

Added by nobu (Nobuyoshi Nakada) over 13 years ago. Updated almost 13 years ago.

Status:
Closed
[ruby-dev:42884]

Description

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

Actions #1

Updated by nobu (Nobuyoshi Nakada) over 13 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

Actions #2

Updated by nobu (Nobuyoshi Nakada) over 13 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

Actions #3

Updated by yugui (Yuki Sonoda) over 13 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
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0