From: Shyouhei Urabe Date: 2011-08-01T11:02:04+09:00 Subject: [ruby-core:38639] [Backport92 - Backport #4489] [PATCH] Encodings with /-(unix|dos|mac)\Z/ Issue #4489 has been updated by Shyouhei Urabe. OK, so the point is, Yui is talking about "magic comments" while James is about names of Encodings. This is the gap. Yui says he cannot take "UTF-8-MAC" as a name of an Encoding because of iconv compatibility, while he can agree with Emacs on magic comments. So the current situation; UTF-8-MAC means CR if and only if you load a file. ---------------------------------------- Backport #4489: [PATCH] Encodings with /-(unix|dos|mac)\Z/ http://redmine.ruby-lang.org/issues/4489 Author: James M. Lawrence Status: Closed Priority: Normal Assignee: Yuki Sonoda Category: Target version: =begin 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. =end -- http://redmine.ruby-lang.org