From: "nobu (Nobuyoshi Nakada)" Date: 2013-04-25T11:49:25+09:00 Subject: [ruby-core:54564] [ruby-trunk - Bug #8323] no conversion by "bom|utf-8" Issue #8323 has been updated by nobu (Nobuyoshi Nakada). Description updated Sorry, miss-post to ruby-core. ---------------------------------------- Bug #8323: no conversion by "bom|utf-8" https://bugs.ruby-lang.org/issues/8323#change-38881 Author: nobu (Nobuyoshi Nakada) Status: Open Priority: Normal Assignee: naruse (Yui NARUSE) Category: M17N Target version: current: 2.1.0 ruby -v: 2.1.0 Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN Mode spec in open and etc. accepts BOM-prefix UTF encoding, however if the external and internal encodings given there are same no conversion take place regardless the actual external encoding. Since the encoding prefixed with "BOM" is not a real encoding, but just a fallback, the conversion should honor the detected encoding by BOM. -- http://bugs.ruby-lang.org/