-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Thu Feb 21 17:15:15 2008 Martin Duerst <[email protected]>
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@15565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- Loading branch information
Showing
3 changed files
with
45 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,14 @@ | ||
Thu Feb 21 17:15:15 2008 Martin Duerst <[email protected]> | ||
|
||
* 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 <[email protected]> | ||
|
||
* array.c (rb_ary_unshift_m): expands enough for argc. [ruby-dev:33880] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters