(define-coding-system): Accept :bom for
authorKenichi Handa <handa@m17n.org>
Thu, 29 May 2008 22:58:58 +0000 (22:58 +0000)
committerKenichi Handa <handa@m17n.org>
Thu, 29 May 2008 22:58:58 +0000 (22:58 +0000)
utf-8.

lisp/international/mule.el

index 9b24e2c..9e0d575 100644 (file)
@@ -767,6 +767,8 @@ encoding.  This attribute has a meaning only when `:coding-type' is
                                      :reg-usage
                                      :request
                                      :flags))
+                                  ((eq coding-type 'utf-8)
+                                   '(:bom))
                                   ((eq coding-type 'utf-16)
                                    '(:bom
                                      :endian))