From: "nobu (Nobuyoshi Nakada)" Date: 2013-04-25T17:17:42+09:00 Subject: [ruby-core:54576] [ruby-trunk - Bug #8323] no conversion by "bom|utf-8" Issue #8323 has been updated by nobu (Nobuyoshi Nakada). Backport changed from 1.9.3: UNKNOWN, 2.0.0: UNKNOWN to 1.9.3: REQUIRED, 2.0.0: REQUIRED ---------------------------------------- Bug #8323: no conversion by "bom|utf-8" https://bugs.ruby-lang.org/issues/8323#change-38901 Author: nobu (Nobuyoshi Nakada) Status: Closed Priority: Normal Assignee: naruse (Yui NARUSE) Category: M17N Target version: current: 2.1.0 ruby -v: 2.1.0 Backport: 1.9.3: REQUIRED, 2.0.0: REQUIRED 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/