From: Alexey Froloff Date: 2009-11-18T08:08:19+09:00 Subject: [ruby-core:26790] [Bug #2379] String#[] returns invalid values for short multibyte strings Issue #2379 has been updated by Alexey Froloff. This happens for all UTF-8 strings shorter than sizeof(VALUE) bytes and len greater than sizeof(VALUE)*2. Problem lies somewhere in str_utf8_nth() function. ---------------------------------------- http://redmine.ruby-lang.org/issues/show/2379 ---------------------------------------- http://redmine.ruby-lang.org