From: "tenderlovemaking (Aaron Patterson)" Date: 2012-04-07T10:35:43+09:00 Subject: [ruby-core:44172] [Backport93 - Backport #6268][Open] backport r35245 and r35248 Issue #6268 has been reported by tenderlovemaking (Aaron Patterson). ---------------------------------------- Backport #6268: backport r35245 and r35248 https://bugs.ruby-lang.org/issues/6268 Author: tenderlovemaking (Aaron Patterson) Status: Open Priority: Normal Assignee: Category: Target version: I would like to backport r35245 and r35248 in order to fix Bug #6266. The patch defaults the YAML parser encoding on unknown encodings to "ANY" encoding. Essentially guessing. I'm making the change to remain backwards compatible with files that are incorrectly opened. I've attached the patch. Thanks! -- http://bugs.ruby-lang.org/