summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/syntax.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2019-05-18 10:15:19 +0300
committerEli Zaretskii <eliz@gnu.org>2019-05-18 10:15:19 +0300
commit6c9a1deb41f0a9d3dd7e8615a0015a74a851b426 (patch)
tree2c56fa0ace06dc174b55aad93c88a6e9a48e871a /lisp/emacs-lisp/syntax.el
parentd0b72dbba0bef8bc8ec0e1c2d55d179820d5e452 (diff)
downloademacs-6c9a1deb41f0a9d3dd7e8615a0015a74a851b426.tar.gz
emacs-6c9a1deb41f0a9d3dd7e8615a0015a74a851b426.tar.bz2
emacs-6c9a1deb41f0a9d3dd7e8615a0015a74a851b426.zip
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.
Diffstat (limited to 'lisp/emacs-lisp/syntax.el')
0 files changed, 0 insertions, 0 deletions