I often see the following lines are included at the beginning of the tex files:
% !TEX TS-program = xelatex
% !TEX encoding = UTF-8 Unicode
% !Mode:: "TeX:UTF-8"
Directives started with % !TEX are explained thoroughly in this great answer, but I didn't find useful explanation about % !Mode::.
So I hope someone can explain:
- How the
!Mode:: "TeX:UTF-8"directive works? - What else we could fill in the double quotation marks besides
TeX:UTF-8? - When and why we should use (or not to use)
% !Mode? - What is the differences between
% !Mode:: "TeX:UTF-8"and% !TEX encoding = UTF-8 Unicode
!TEX, as far as I know). – egreg Oct 23 '15 at 08:27