summaryrefslogtreecommitdiffstats
path: root/encoding.c
diff options
context:
space:
mode:
authorduerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-02-21 08:42:10 +0000
committerduerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-02-21 08:42:10 +0000
commit323d7174f54d8b3141d0f567f0b985f18bda84e8 (patch)
tree580ec0cb8820acc1f4ac67c47b1dfc735e2ae802 /encoding.c
parent2fcbc94f6ad13e357df3cbdf7082c2093f641316 (diff)
downloadruby-323d7174f54d8b3141d0f567f0b985f18bda84e8.tar.gz
ruby-323d7174f54d8b3141d0f567f0b985f18bda84e8.tar.xz
ruby-323d7174f54d8b3141d0f567f0b985f18bda84e8.zip
Thu Feb 21 17:15:15 2008 Martin Duerst <duerst@it.aoyama.ac.jp>
* 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
Diffstat (limited to 'encoding.c')
0 files changed, 0 insertions, 0 deletions