From: "knu (Akinori MUSHA)" Date: 2013-06-05T21:41:59+09:00 Subject: [ruby-core:55317] [ruby-trunk - Bug #8496] String#b does not check the code range properly Issue #8496 has been updated by knu (Akinori MUSHA). A patch is attached. This problem also applies to ruby_2_0_0. ---------------------------------------- Bug #8496: String#b does not check the code range properly https://bugs.ruby-lang.org/issues/8496#change-39718 Author: knu (Akinori MUSHA) Status: Open Priority: Normal Assignee: naruse (Yui NARUSE) Category: M17N Target version: current: 2.1.0 ruby -v: ruby 2.1.0dev (2013-06-05 trunk 41090) [x86_64-freebsd9] Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN Currently "abc".b.ascii_only? returns false, which should be true. -- http://bugs.ruby-lang.org/