diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-04-25 07:11:20 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-04-25 07:11:20 +0000 |
commit | 91fb5bc88992dd7f4edae20934f814f052b516d6 (patch) | |
tree | 399441d230a2ade72965e299b88f61c54a02d67f /vm_debug.h | |
parent | 8b29525dadeaba1ba6dc2a9ea5e590aa9d1d825a (diff) |
io.c: conversion from bom encoding
* io.c (rb_io_ext_int_to_encs, parse_mode_enc): bom-prefixed name is
not a real encoding name, just a fallback. so the proper conversion
should take place even if if the internal encoding is equal to the
bom-prefixed name, unless actual encoding is equal to the internal
encoding. [ruby-core:54563] [Bug #8323]
* io.c (io_set_encoding_by_bom): reset extenal encoding if no BOM
found. [ruby-core:54569]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_debug.h')
0 files changed, 0 insertions, 0 deletions