Project

General

Profile

Backport #6268

backport r35245 and r35248

Added by tenderlovemaking (Aaron Patterson) over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
[ruby-core:44172]

Description

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!


Files

backport.patch (2.12 KB) backport.patch tenderlovemaking (Aaron Patterson), 04/07/2012 10:35 AM

History

Updated by drbrain (Eric Hodel) over 7 years ago

This patch looks good to me.

Updated by naruse (Yui NARUSE) over 7 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF