texlive[47124] Build/source/texk/ptexenc: use default_kanji_enc =
commits+kakuto at tug.org
commits+kakuto at tug.org
Mon Mar 26 04:35:01 CEST 2018
Revision: 47124
http://tug.org/svn/texlive?view=revision&revision=47124
Author: kakuto
Date: 2018-03-26 04:35:00 +0200 (Mon, 26 Mar 2018)
Log Message:
-----------
use default_kanji_enc = ENC_UTF8 also on Windows (ptexenc)
Modified Paths:
--------------
trunk/Build/source/texk/ptexenc/ChangeLog
trunk/Build/source/texk/ptexenc/ptexenc.c
Modified: trunk/Build/source/texk/ptexenc/ChangeLog
===================================================================
--- trunk/Build/source/texk/ptexenc/ChangeLog 2018-03-26 00:23:41 UTC (rev 47123)
+++ trunk/Build/source/texk/ptexenc/ChangeLog 2018-03-26 02:35:00 UTC (rev 47124)
@@ -1,3 +1,8 @@
+2018-03-26 Akira Kakuto <kakuto at fuk.kindai.ac.jp>
+
+ * ptexenc.c: Change default_kanji_enc from ENC_SJIS to ENC_UTF8
+ (Windows only).
+
2018-01-17 Karl Berry <karl at freefriends.org>
* ptexenc.c: #include <kpathsea/c-pathmx.h>, per Debian.
Modified: trunk/Build/source/texk/ptexenc/ptexenc.c
===================================================================
--- trunk/Build/source/texk/ptexenc/ptexenc.c 2018-03-26 00:23:41 UTC (rev 47123)
+++ trunk/Build/source/texk/ptexenc/ptexenc.c 2018-03-26 02:35:00 UTC (rev 47124)
@@ -155,7 +155,7 @@
internal_enc = ENC_UPTEX;
} else {
#ifdef WIN32
- default_kanji_enc = ENC_SJIS;
+ default_kanji_enc = ENC_UTF8;
internal_enc = ENC_SJIS;
#else
default_kanji_enc = ENC_UTF8;
@@ -841,7 +841,7 @@
return last;
}
-// set encode of stdin if fp = NULL
+/* set encode of stdin if fp = NULL */
boolean setinfileenc(FILE *fp, const char *str)
{
int enc;
More information about the tex-live-commits
mailing list