Project

General

Profile

« Previous | Next » 

Revision 1046eae7

Added by nobu (Nobuyoshi Nakada) over 7 years ago

io.c: read BOM only for reading

  • io.c (io_strip_bom): just abandon detecting UTF encoding by BOM
    unless opened for reading.

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