[1.9] String.rstrip brokes UTF-8 string. ----------------------------------------
Key: JRUBY-5807 URL: http://jira.codehaus.org/browse/JRUBY-5807 Project: JRuby Issue Type: Bug Components: Core Classes/Modules Affects Versions: JRuby 1.6.1 Environment: Windows 7 SP1 x64, Java 1.6.0_21, JRuby 1.6.1 Reporter: Maxim Sokolovsky Priority: Critical I'm using 1.9 mode of latest JRuby on Windows. When rstrip applied to utf-8 string with unicode char at the end it brokes string, removing one byte from the end. On MRI Ruby 1.9.2 it works as expected. I put minitest-bases test in attachment. If you doesn't accept minitest - write please which test framework should I use. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - 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