texlive[63587] Build/source/texk/ptexenc/ptexenc.c: ptexenc: more
commits+takuji at tug.org
commits+takuji at tug.org
Tue Jun 14 15:50:45 CEST 2022
Revision: 63587
http://tug.org/svn/texlive?view=revision&revision=63587
Author: takuji
Date: 2022-06-14 15:50:45 +0200 (Tue, 14 Jun 2022)
Log Message:
-----------
ptexenc: more strict check of multibytes before EOF
Modified Paths:
--------------
trunk/Build/source/texk/ptexenc/ptexenc.c
Modified: trunk/Build/source/texk/ptexenc/ptexenc.c
===================================================================
--- trunk/Build/source/texk/ptexenc/ptexenc.c 2022-06-14 01:04:46 UTC (rev 63586)
+++ trunk/Build/source/texk/ptexenc/ptexenc.c 2022-06-14 13:50:45 UTC (rev 63587)
@@ -955,6 +955,8 @@
}
}
+ if (pos_db) maybe_sjis = maybe_euc = 0;
+ if (pos_utf8) maybe_utf8 = 0;
if (is_ascii)
strcpy(enc,"ASCII");
else if (maybe_sjis+maybe_euc+maybe_utf8>1) {
More information about the tex-live-commits
mailing list.