diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-04-19 17:50:38 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-04-19 17:50:38 +0000 |
commit | 394d5dfa9ba625c99a1e6a411f81b628bfebd60a (patch) | |
tree | 22a788ad3df769fa9c3b4f5f81efde5b1cad87a4 /ChangeLog | |
parent | 57ffc79c4561b9249ef6b81101f1887f16f29e19 (diff) | |
download | ruby-394d5dfa9ba625c99a1e6a411f81b628bfebd60a.tar.gz |
* 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
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -1,3 +1,15 @@ +Sat Apr 20 02:33:27 2013 NARUSE, Yui <naruse@ruby-lang.org> + + * 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 <kou@cozmixng.org> * README.EXT.ja (Data_Wrap_Struct): Remove a description about |