From 394d5dfa9ba625c99a1e6a411f81b628bfebd60a Mon Sep 17 00:00:00 2001 From: naruse Date: Fri, 19 Apr 2013 17:50:38 +0000 Subject: * string.c (str_scrub): add ruby method String#scrub which verify and fix invalid byte sequence. * string.c (str_compat_and_valid): check given string is compatible and valid with given encoding. * transcode.c (str_transcode0): If invalid: :replace is specified for String#encode, replace invalid byte sequence even if the destination encoding equals to the source encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 205446ca24..d331291c19 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +Sat Apr 20 02:33:27 2013 NARUSE, Yui + + * string.c (str_scrub): add ruby method String#scrub which verify and + fix invalid byte sequence. [ruby-dev:45975] [Feature #6752] + + * string.c (str_compat_and_valid): check given string is compatible + and valid with given encoding. + + * transcode.c (str_transcode0): If invalid: :replace is specified for + String#encode, replace invalid byte sequence even if the destination + encoding equals to the source encoding. + Fri Apr 19 21:55:40 2013 Kouhei Sutou * README.EXT.ja (Data_Wrap_Struct): Remove a description about -- cgit v1.2.3