Project

General

Profile

« Previous | Next » 

Revision e50a5bce

Added by matz (Yukihiro Matsumoto) over 16 years ago

  • io.c (rb_io_extract_modeenc): plain rb/wb should set ASCII-8BIT
    to the external_encoding.

  • io.c (rb_file_open_internal): ditto.

  • io.c (NEED_WRITECONV): no conversion when the external_encoding
    is ASCII-8BIT.

  • io.c (do_writeconv): skip ASCII-8BIT.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e