From: "James M. Lawrence" Date: 2011-08-01T06:38:26+09:00 Subject: [ruby-core:38632] [Backport92 - Backport #4489] [PATCH] Encodings with /-(unix|dos|mac)\Z/ Issue #4489 has been updated by James M. Lawrence. > It is not accepted because iconv uses the name. Huh? UTF-8-MAC and UTF8-MAC are not aliases. As you said, "UTF-8 with CR-newline as UTF-8-MAC". Emacs agrees with you -- it recognizes UTF-8-MAC as UTF-8. UTF8-MAC is not the same encoding as UTF-8. They should not be aliased. http://redmine.ruby-lang.org/issues/4489#note-7 simply removes the alias. ---------------------------------------- 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