From: "naruse (Yui NARUSE)" Date: 2013-06-05T23:13:10+09:00 Subject: [ruby-core:55319] [ruby-trunk - Bug #8496] String#b does not check the code range properly Issue #8496 has been updated by naruse (Yui NARUSE). coderange_scan may cost too much time, so commit it with ENC_CODERANGE_CLEAR(str);. ---------------------------------------- Bug #8496: String#b does not check the code range properly https://bugs.ruby-lang.org/issues/8496#change-39722 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/