Project

General

Profile

Backport #8323

no conversion by "bom|utf-8"

Added by nobu (Nobuyoshi Nakada) about 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Normal
[ruby-core:54563]

Description

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.


Files

Also available in: Atom PDF