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