diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-10-22 16:53:50 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-10-22 16:53:50 +0000 |
commit | 77e00d0c582b183e1d17598cf7f3f4f1e6c3c9cb (patch) | |
tree | 43f41183c4bbe3684284dce2d442833f1d5aa237 /ext/socket/socket.c | |
parent | f916c6a67fd09e125f352bd83b425e37f7863839 (diff) | |
download | ruby-77e00d0c582b183e1d17598cf7f3f4f1e6c3c9cb.tar.gz ruby-77e00d0c582b183e1d17598cf7f3f4f1e6c3c9cb.tar.xz ruby-77e00d0c582b183e1d17598cf7f3f4f1e6c3c9cb.zip |
* string.c (rb_str_conv_enc_opts): new function to convert with
specifying ecflags and ecopts.
* ext/zlib/zlib.c (gzfile_newstr): specify ecflags and ecopts for
conversion using above function.
* ext/zlib/zlib.c (gzfile_newstr): use own rb_econv_t for dummy
encoding to handling stateful encoding (e.g. iso-2022-jp).
[ruby-dev:36857]
* ext/zlib/zlib.c (gzfile_getc): ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket/socket.c')
0 files changed, 0 insertions, 0 deletions