From 02c12e5577561e48cf9176ea63ea54bd722a3845 Mon Sep 17 00:00:00 2001 From: Akira Kakuto Date: Wed, 24 Jul 2019 04:56:40 +0000 Subject: command_line_encoding = utf-8 (Windows only) git-svn-id: svn://tug.org/texlive/trunk@51715 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/kpathsea/ChangeLog | 5 +++++ Build/source/texk/kpathsea/texmf.cnf | 20 ++++++++++++++++++++ 2 files changed, 25 insertions(+) (limited to 'Build/source/texk/kpathsea') diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog index c07f7cd566b..15aae61aa9b 100644 --- a/Build/source/texk/kpathsea/ChangeLog +++ b/Build/source/texk/kpathsea/ChangeLog @@ -1,3 +1,8 @@ +2019-07-24 Akira Kakuto + + * texmf.cnf: Define command_line_encoding = utf-8 for + Windows only. + 2019-07-11 Karl Berry * texmf.cnf (TEXINPUTS.lua{,jit}hb{,la}tex): four new engines, diff --git a/Build/source/texk/kpathsea/texmf.cnf b/Build/source/texk/kpathsea/texmf.cnf index 1b99fa1e419..325922eeac8 100644 --- a/Build/source/texk/kpathsea/texmf.cnf +++ b/Build/source/texk/kpathsea/texmf.cnf @@ -845,3 +845,23 @@ max_cols.gftype = 8191 % 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 -- cgit v1.2.3