diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-02-22 06:52:54 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-02-22 06:52:54 +0000 |
commit | 81fc1cf2017840d0786cf997b4d2a80f80060001 (patch) | |
tree | ed95702464f90d637072a7912e6ad681262b3d2d /ChangeLog | |
parent | a532dcafe6f523b79024cb1ee7cff31cc1127ae3 (diff) | |
download | ruby-81fc1cf2017840d0786cf997b4d2a80f80060001.tar.gz |
* encoding.c (rb_enc_mbclen): return minlen instead of 1 when
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@15573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -1,3 +1,14 @@ +Fri Feb 22 15:47:36 2008 Tanaka Akira <akr@fsij.org> + + * encoding.c (rb_enc_mbclen): return minlen instead of 1 when + 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. + Fri Feb 22 12:11:12 2008 NARUSE, Yui <naruse@ruby-lang.org> * string.c (rb_str_inspect): string of ascii incompatible encoding |