Forum: Ruby-dev [ruby-trunk - Bug #9966] Encoding.find(symbol)の動作がrdocと異なる

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
F1d6cc2b735bfd82c8773172da2aeab9?d=identicon&s=25 Nobuyoshi Nakada (nobu)
on 2014-06-21 00:10
(Received via mailing list)
Issue #9966 has been updated by Nobuyoshi Nakada.

Category set to doc


Bug #9966: Encoding.find(symbol)の動作がrdocと異なる

* Author: Wataru Kimura
* Status: Open
* Priority: Normal
* Assignee:
* Category: doc
* Target version:
* ruby -v: ruby 2.2.0dev (2014-06-20 trunk 46480) [x86_64-darwin13]
* Backport: 2.0.0: REQUIRED, 2.1: REQUIRED


% /usr/local/stow/ruby-2.2-dev/bin/ruby -e 'Encoding.find(:Shift_JIS)'
-e:1:in `find': no implicit conversion of Symbol into String (TypeError)
  from -e:1:in `<main>'

This topic is locked and can not be replied to.