summaryrefslogtreecommitdiffstats
path: root/test/ruby/test_utf32.rb
Commit message (Collapse)AuthorAgeFilesLines
* * encoding.c (rb_enc_mbclen): return minlen instead of 1 whenakr2008-02-221-0/+27
a character is not found properly. * string.c (rb_enc_strlen): round up string length with fixed multibyte encoding such as UTF-32. (rb_enc_strlen_cr): ditto. (rb_str_substr): fix substring with fixed multibyte encoding. (rb_str_justify): check number of characters. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e