diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-21 07:02:55 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-21 07:02:55 +0000 |
commit | 046aa3f55e864d2895f398f65fd24a7427c5a27a (patch) | |
tree | 623f37d5acf019af9868527458fb0de57e639f66 /debug.c | |
parent | e8911f9e7f3e08d4f5f395d7d529a7fe19c4f78f (diff) | |
download | ruby-046aa3f55e864d2895f398f65fd24a7427c5a27a.tar.gz ruby-046aa3f55e864d2895f398f65fd24a7427c5a27a.tar.xz ruby-046aa3f55e864d2895f398f65fd24a7427c5a27a.zip |
* io.c (rb_io_s_read): allow specifying encoding explicitly.
* io.c (rb_io_binmode): specifies encoding to ASCII-8BIT (binary).
* io.c (rb_io_s_read): IO should be in binary mode when offset is
specified.
* encoding.c (rb_to_encoding): returns default encoding if no
corresponding encoding found.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'debug.c')
0 files changed, 0 insertions, 0 deletions