From 323d7174f54d8b3141d0f567f0b985f18bda84e8 Mon Sep 17 00:00:00 2001 From: duerst Date: Thu, 21 Feb 2008 08:42:10 +0000 Subject: Thu Feb 21 17:15:15 2008 Martin Duerst * transcode.c: Added basic support for passing options to String#encode via a hash. Currently only one option, with one value, is supported: invalid: :ignore (dropping invalid byte sequences instead of producing an error). Option naming is not yet stable! * test/ruby/test_transcode.rb: Added a single test for invalid: :ignore option. Not more tests because most data does not yet distinguish between INVALID and UNKNOWN. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 4f6b92c61..e9ebc1e74 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +Thu Feb 21 17:15:15 2008 Martin Duerst + + * transcode.c: Added basic support for passing options to String#encode + via a hash. Currently only one option, with one value, is supported: + invalid: :ignore (dropping invalid byte sequences instead of + producing an error). Option naming is not yet stable! + + * test/ruby/test_transcode.rb: Added a single test for invalid: :ignore + option. Not more tests because most data does not yet distinguish + between INVALID and UNKNOWN. + Thu Feb 21 16:35:26 2008 Nobuyoshi Nakada * array.c (rb_ary_unshift_m): expands enough for argc. [ruby-dev:33880] -- cgit