Issue #4489 has been updated by James M. Lawrence. This should not be filed under backports. Trunk has a bug. UTF-8-MAC and UTF8-MAC are no longer aliases. Apply patch http://redmine.ruby-lang.org/issues/4489#note-7 ---------------------------------------- Backport #4489: [PATCH] Encodings with /-(unix|dos|mac)\Z/ http://redmine.ruby-lang.org/issues/4489 Author: James M. Lawrence Status: Assigned Priority: Normal Assignee: Yuki Sonoda Category: Target version: The *-dos and *-mac meta-encodings were not being recognized. utf-8-mac is a special case since it corresponds to a real encoding; its meta-encoding is utf-8-mac-mac. -- http://redmine.ruby-lang.org