From: Yui NARUSE Date: 2011-08-01T09:29:21+09:00 Subject: [ruby-core:38634] [Backport92 - Backport #4489] [PATCH] Encodings with /-(unix|dos|mac)\Z/ Issue #4489 has been updated by Yui NARUSE. James M. Lawrence wrote: > > 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. Ruby's encoding is not for Emacs. ---------------------------------------- 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