Commit 6e08019a authored by Eli Zaretskii's avatar Eli Zaretskii

Recognize codepage 65001 as a valid encoding

* lisp/international/mule-conf.el (cp65001): Define it as an
alias for UTF-8.
parent 1a350d77
......@@ -1305,6 +1305,11 @@ is treated as a character."
:bom '(utf-8-with-signature . utf-8))
(define-coding-system-alias 'mule-utf-8 'utf-8)
;; See this page:
;; https://docs.microsoft.com/en-us/windows/desktop/intl/code-page-identifiers
;; Starting with Windows 10, people are trying to set their systems to
;; use UTF-8 , so we had better recognized this alias:
(define-coding-system-alias 'cp65001 'utf-8)
(define-coding-system 'utf-8-emacs
"Support for all Emacs characters (including non-Unicode characters)."
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment