Issue #6268 has been updated by naruse (Yui NARUSE).

Status changed from Open to Closed


----------------------------------------
Backport #6268: backport r35245 and r35248
https://bugs.ruby-lang.org/issues/6268#change-25723

Author: tenderlovemaking (Aaron Patterson)
Status: Closed
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/