Wrong work replacement char with russian charset ------------------------------------------------
Key: JRUBY-3519 URL: http://jira.codehaus.org/browse/JRUBY-3519 Project: JRuby Issue Type: Bug Components: Core Classes/Modules Affects Versions: JRuby 1.2 Environment: Vista, JDK6u10, JRuby 1.2, Netbeans 6.5.1 Reporter: Mejov Andrei Simple example from tutorials: Its work fine a = "ABCD" a = a a[0] = 'Z' puts a puts a.size Stdout: ZBCD 4 But, this: a = "Даша" a[0] = "М" puts a puts a.size Stdout: М�аша 9 9, but must be 8, and non printable character was added after first char -- 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