[1.9] "\x80".index("\x80") == nil ---------------------------------
Key: JRUBY-6073 URL: https://jira.codehaus.org/browse/JRUBY-6073 Project: JRuby Issue Type: Bug Components: Core Classes/Modules Affects Versions: JRuby 1.7 Environment: GNU/Linux Reporter: Atsuhiko Yamanaka Priority: Minor In 1.9 mode, {code} $ jruby --1.9 -e 'p "\x80".index("\x80")' nil {code} Of course, it will work fine for strings which don't include 8-bit characters, {code} $ jruby --1.9 -e 'p "\x7f".index("\x7f")' 0 {code} It has been tried on the following jruby version, {code} $ jruby --1.9 -v jruby 1.7.0.dev (ruby-1.9.2-p136) (2011-09-16 41eff81) (Java HotSpot(TM) Client VM 1.6.0_16) [linux-i386-java] {code} -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email