1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00
emacs/lisp/international
Eli Zaretskii 6c9a1deb41 Fix visiting and saving UTF-16 encoded XML files
* lisp/international/mule.el (sgml-xml-auto-coding-function):
When the 'enncoding' tag specifies a UTF-16 encoding, enforce
saving the buffer with BOM, per the XML spec.
(xml-find-file-coding-system): Recognize UTF-16 encodings with
BOM.  (Bug#35766)  (Bug#8282)
* lisp/international/mule-cmds.el (select-safe-coding-system):
Don't consider UTF-16 encodings with and without BOM as
"different", so as not to annoy users with redundant questions
about mismatch between the XML/SGML header and the selected
explicit encoding.
2019-05-18 10:15:19 +03:00
..
ccl.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
characters.el Import Unicode 12.0 data files 2019-03-09 12:41:48 +02:00
fontset.el Import Unicode 12.0 data files 2019-03-09 12:41:48 +02:00
isearch-x.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
iso-ascii.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
iso-cvt.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
iso-transl.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ja-dic-cnv.el Fix regexp branches that subsume other branches 2019-04-19 09:02:25 -07:00
ja-dic-utl.el Use utf-8 coding system for all our Elisp files 2019-01-07 21:18:40 -05:00
kinsoku.el Use utf-8 coding system for all our Elisp files 2019-01-07 21:18:40 -05:00
kkc.el Use utf-8 coding system for all our Elisp files 2019-01-07 21:18:40 -05:00
latexenc.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
latin1-disp.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
mule-cmds.el Fix visiting and saving UTF-16 encoded XML files 2019-05-18 10:15:19 +03:00
mule-conf.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
mule-diag.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
mule-util.el * lisp/international/mule-util.el: Avoid setq; clarify meaning of -1. 2019-04-29 16:32:52 -04:00
mule.el Fix visiting and saving UTF-16 encoded XML files 2019-05-18 10:15:19 +03:00
ogonek.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
quail.el quail.el: Use delete-and-extract-region 2019-04-09 15:11:38 -04:00
rfc1843.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
robin.el
titdic-cnv.el Make pinyin to Chinese character mapping available to elisp 2019-02-24 10:57:05 -08:00
ucs-normalize.el Add missing dependency to ucs-normalize.el 2019-02-13 15:03:30 -08:00
utf-7.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
utf7.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00