Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * encoding.c (rb_enc_mbclen): return minlen instead of 1 when | akr | 2008-02-22 | 1 | -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 |