From: "naruse (Yui NARUSE)" Date: 2013-04-25T15:48:36+09:00 Subject: [ruby-core:54574] [ruby-trunk - Bug #8323] no conversion by "bom|utf-8" Issue #8323 has been updated by naruse (Yui NARUSE). nobu (Nobuyoshi Nakada) wrote: > Updated. OK, commit please. ---------------------------------------- Bug #8323: no conversion by "bom|utf-8" https://bugs.ruby-lang.org/issues/8323#change-38897 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/