(mm-charset-synonym-alist): Map "unicode" to
authorSimon Josefsson <jas@extundo.com>
Tue, 21 Sep 2004 09:48:57 +0000 (09:48 +0000)
committerSimon Josefsson <jas@extundo.com>
Tue, 21 Sep 2004 09:48:57 +0000 (09:48 +0000)
"utf-16-le".

lisp/ChangeLog
lisp/mm-util.el

index 718a2e6..35d298b 100644 (file)
@@ -1,3 +1,8 @@
+2004-09-20  Simon Josefsson  <jas@extundo.com>
+
+       * mm-util.el (mm-charset-synonym-alist): Map "unicode" to
+       "utf-16-le".
+
 2004-09-19  Reiner Steib  <Reiner.Steib@gmx.de>
 
        * uudecode.el (uudecode-use-external): Add :version.
index 55c9a34..32ce5d6 100644 (file)
@@ -160,6 +160,10 @@ system object in XEmacs."
               (mm-coding-system-p 'cp1250))
          '((windows-1250 . cp1250)))
     ;; A Microsoft misunderstanding.
+    ,@(if (and (not (mm-coding-system-p 'unicode))
+              (mm-coding-system-p 'utf-16-le))
+         '((unicode . utf-16-le)))
+    ;; A Microsoft misunderstanding.
     ,@(unless (mm-coding-system-p 'ks_c_5601-1987)
        (if (mm-coding-system-p 'cp949)
            '((ks_c_5601-1987 . cp949))