[ruby-cvs:60236] nobu:r53084 (trunk): io.c: BOM with non-UTF

nobu at ruby-lang.org nobu at ruby-lang.org
Sun Dec 13 18:48:27 JST 2015


nobu	2015-12-13 18:48:27 +0900 (Sun, 13 Dec 2015)

  New Revision: 53084

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53084

  Log:
    io.c: BOM with non-UTF
    
    * io.c (io_encname_bom_p): check BOM prefix only, not including
      UTF prefix.
    * io.c (parse_mode_enc): warn BOM with non-UTF encoding.

  Modified files:
    trunk/ChangeLog
    trunk/io.c
    trunk/test/ruby/test_io_m17n.rb


More information about the ruby-cvs mailing list