changeset 95398:f7271aace10a

(define-coding-system): Accept :bom for utf-8.
author Kenichi Handa <handa@m17n.org>
date Thu, 29 May 2008 22:58:58 +0000
parents c99f0a16c077
children 3a9b63459609
files lisp/international/mule.el
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/international/mule.el	Thu May 29 22:58:15 2008 +0000
+++ b/lisp/international/mule.el	Thu May 29 22:58:58 2008 +0000
@@ -767,6 +767,8 @@
 				      :reg-usage
 				      :request
 				      :flags))
+				   ((eq coding-type 'utf-8)
+				    '(:bom))
 				   ((eq coding-type 'utf-16)
 				    '(:bom
 				      :endian))