diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-13 09:48:27 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-13 09:48:27 +0000 |
commit | f9c0d97a1873fe5c0ea4119d5c8724c97faf1372 (patch) | |
tree | bbe2feebe5fd95bf5081846fff9be917cefe2339 /ext/-test-/rational | |
parent | 6f573d2b937bd85eb08700d9fd8f63473f793783 (diff) | |
download | ruby-f9c0d97a1873fe5c0ea4119d5c8724c97faf1372.tar.gz |
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.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/-test-/rational')
0 files changed, 0 insertions, 0 deletions