Variable: nxml-prefer-utf-16-to-utf-8-flag

nxml-prefer-utf-16-to-utf-8-flag is a customizable variable defined in nxml-mode.el.gz.

Value

nil

Documentation

Non-nil means prefer UTF-16 to UTF-8 when saving a buffer.

This is used only when a buffer does not contain an encoding declaration and when its current buffer-file-coding-system specifies neither UTF-16 nor UTF-8.

Source Code

;; Defined in /usr/src/emacs/lisp/nxml/nxml-mode.el.gz
(defcustom nxml-prefer-utf-16-to-utf-8-flag nil
  "Non-nil means prefer UTF-16 to UTF-8 when saving a buffer.
This is used only when a buffer does not contain an encoding declaration
and when its current `buffer-file-coding-system' specifies neither UTF-16
nor UTF-8."
  :group 'nxml
  :type 'boolean
  :safe #'booleanp)