texlive[59698] Build/source/texk/ptexenc: ptexenc/unicode-jp.c:
commits+hironobu at tug.org
commits+hironobu at tug.org
Fri Jun 25 11:02:22 CEST 2021
Revision: 59698
http://tug.org/svn/texlive?view=revision&revision=59698
Author: hironobu
Date: 2021-06-25 11:02:22 +0200 (Fri, 25 Jun 2021)
Log Message:
-----------
ptexenc/unicode-jp.c: UCS2toJISnative(0) fix by H.Kitagawa
Modified Paths:
--------------
trunk/Build/source/texk/ptexenc/ChangeLog
trunk/Build/source/texk/ptexenc/unicode-jp.c
Modified: trunk/Build/source/texk/ptexenc/ChangeLog
===================================================================
--- trunk/Build/source/texk/ptexenc/ChangeLog 2021-06-25 08:59:50 UTC (rev 59697)
+++ trunk/Build/source/texk/ptexenc/ChangeLog 2021-06-25 09:02:22 UTC (rev 59698)
@@ -1,3 +1,8 @@
+2021-06-25 Hironori Kitagawa <h_kitagawa2001 at yahoo.co.jp>
+
+ * unicode-jp.c: changed the returned value of UCS2toJISnative(0)
+ from 0x222F to 0 to indicate that it is invalid.
+
2021-04-17 Karl Berry <karl at tug.org>
* version.ac: now 1.3.11/dev since TL'21 is released.
Modified: trunk/Build/source/texk/ptexenc/unicode-jp.c
===================================================================
--- trunk/Build/source/texk/ptexenc/unicode-jp.c 2021-06-25 08:59:50 UTC (rev 59697)
+++ trunk/Build/source/texk/ptexenc/unicode-jp.c 2021-06-25 09:02:22 UTC (rev 59698)
@@ -112,6 +112,7 @@
{
int i, j;
+ if (ucs2==0) return 0;
for (i=0; i<MAXJIS; i++) {
for (j=0; j<94; j++) {
if (UnicodeTbl[i][j] == ucs2) {
More information about the tex-live-commits
mailing list.