texlive[51715] Build/source/texk/kpathsea: command_line_encoding =

commits+kakuto at tug.org commits+kakuto at tug.org
Wed Jul 24 06:56:40 CEST 2019


Revision: 51715
          http://tug.org/svn/texlive?view=revision&revision=51715
Author:   kakuto
Date:     2019-07-24 06:56:40 +0200 (Wed, 24 Jul 2019)
Log Message:
-----------
command_line_encoding = utf-8 (Windows only)

Modified Paths:
--------------
    trunk/Build/source/texk/kpathsea/ChangeLog
    trunk/Build/source/texk/kpathsea/texmf.cnf

Modified: trunk/Build/source/texk/kpathsea/ChangeLog
===================================================================
--- trunk/Build/source/texk/kpathsea/ChangeLog	2019-07-23 23:52:43 UTC (rev 51714)
+++ trunk/Build/source/texk/kpathsea/ChangeLog	2019-07-24 04:56:40 UTC (rev 51715)
@@ -1,3 +1,8 @@
+2019-07-24  Akira Kakuto  <kakuto at w32tex.org>
+
+	* texmf.cnf: Define command_line_encoding = utf-8 for
+	Windows only.
+
 2019-07-11  Karl Berry  <karl at tug.org>
 
 	* texmf.cnf (TEXINPUTS.lua{,jit}hb{,la}tex): four new engines,

Modified: trunk/Build/source/texk/kpathsea/texmf.cnf
===================================================================
--- trunk/Build/source/texk/kpathsea/texmf.cnf	2019-07-23 23:52:43 UTC (rev 51714)
+++ trunk/Build/source/texk/kpathsea/texmf.cnf	2019-07-24 04:56:40 UTC (rev 51715)
@@ -845,3 +845,23 @@
 % Guess input encoding (SJIS vs. Unicode, etc.) in pTeX and friends?
 % Default is 1, to guess. Used on Windows only.
 guess_input_kanji_encoding = 1
+
+% command_line_encoding
+%
+% This variable is used on Windows only, and affects 4 TeX engines:
+% uptex, euptex, pdftex, xetex, and 2 drivers: dvips, [x]dvipdfmx.
+% Several applications also are affected by the variable:
+% dvi2tty.exe, disdvi.exe, dvibook.exe, dviconcat.exe, dviselect.exe,
+% dvitodvi.exe, and dvidvi.exe.
+% Only values utf8 or utf-8 are meaningful. Other values are simply
+% ignored. If file names in sources and DVI or XDV files are ASCII
+% only, the value of command_line_encoding is irrelevant.
+% If command_line_encoding = utf8 or command_line_encoding = utf-8,
+% file names in sources and DVI or XDV files are assumed to be UTF-8.
+% Default is utf-8, from 2019-07-24, to assume UTF-8 file names.
+% In order to switch off the function, define an environment variable:
+% set command_line_encoding=none
+% or write a line:
+% command_line_encoding = none
+% in a texmf.cnf prefered, for example $TEXMFLOCAL/web2c/texmf.cnf.
+command_line_encoding = utf-8



More information about the tex-live-commits mailing list