From b161530cf2edf8ca1bf5ddc0623b607198e0bb27 Mon Sep 17 00:00:00 2001 From: akr Date: Fri, 15 Feb 2008 18:48:27 +0000 Subject: * encoding.c (rb_enc_nth): moved to string.c. * string.c (rb_enc_nth): moved from string.c. use search_nonascii for ASCII compatible string. (str_nth): wrong optimization removed to fix "a".force_encoding("EUC-JP").slice!(0,10) returns "a\x00\x00\x00\x00\x00\x00\x00\x00\x00" git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 7a9c78de8..86e66e004 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +Sat Feb 16 03:43:18 2008 Tanaka Akira + + * encoding.c (rb_enc_nth): moved to string.c. + + * string.c (rb_enc_nth): moved from string.c. use search_nonascii + for ASCII compatible string. + (str_nth): wrong optimization removed to fix + "a".force_encoding("EUC-JP").slice!(0,10) returns + "a\x00\x00\x00\x00\x00\x00\x00\x00\x00" + Sat Feb 16 00:21:49 2008 Nobuyoshi Nakada * range.c (rb_range_beg_len): check if responds to "begin" and "end" -- cgit