auctex-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX-diffs] [elpa] externals/auctex 96ba113 23/48: Support UTF-8 with


From: Tassilo Horn
Subject: [AUCTeX-diffs] [elpa] externals/auctex 96ba113 23/48: Support UTF-8 with BOM in Japanese TeX documents
Date: Sun, 16 Sep 2018 01:47:23 -0400 (EDT)

branch: externals/auctex
commit 96ba11321ce7a829d1772e6d31b94a075fb93ce1
Author: Ikumi Keita <address@hidden>
Commit: Ikumi Keita <address@hidden>

    Support UTF-8 with BOM in Japanese TeX documents
    
    * tex-jp.el (japanese-TeX-coding-ejsu): Consider the case the document
    is encoded in UTF-8 with BOM, which begins to be supported in TeXLive
    2018.
---
 tex-jp.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tex-jp.el b/tex-jp.el
index 017144f..c20e62d 100644
--- a/tex-jp.el
+++ b/tex-jp.el
@@ -380,6 +380,8 @@ Return nil otherwise."
                 (iso-2022-jp . "jis")
                 (japanese-shift-jis . "sjis")
                 (utf-8 . "utf8")
+               ;; TeXLive 2018 $B$+$i(B BOM $B$D$-(B UTF-8 
$B$b%5%]!<%H$5$l$?!#(B
+                (utf-8-with-signature . "utf8")
 
                 (euc-jis-2004 . "euc")
                 (iso-2022-jp-2004 . "jis")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]