From c86e94c1b5dc658db3ab0062cbe95e69bafc32d4 Mon Sep 17 00:00:00 2001 From: Akira Kakuto Date: Fri, 7 May 2010 14:51:09 +0000 Subject: remove SJIS option. git-svn-id: svn://tug.org/texlive/trunk@18144 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/dvipsk/output.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Build/source/texk/dvipsk/output.c') diff --git a/Build/source/texk/dvipsk/output.c b/Build/source/texk/dvipsk/output.c index 3b2a3f24ed4..57a98979c1c 100644 --- a/Build/source/texk/dvipsk/output.c +++ b/Build/source/texk/dvipsk/output.c @@ -770,9 +770,9 @@ jscout(int c, char *fs) /* string character out */ sprintf(s, "a<%02x>p", c); } else if (c<0x800) { sprintf(s, "a<%02x%02x>p", UCStoUTF8B1(c), UCStoUTF8B2(c)); - } else if (c<0xffff) { + } else if (c<0x10000) { sprintf(s, "a<%02x%02x%02x>p", UCStoUTF8C1(c), UCStoUTF8C2(c), UCStoUTF8C3(c)); - } else if (c<0x10ffff) { + } else if (c<0x110000) { sprintf(s, "a<%02x%02x%02x%02x>p", UCStoUTF8D1(c), UCStoUTF8D2(c), UCStoUTF8D3(c), UCStoUTF8D4(c)); } else { error("warning: Illegal code value."); @@ -780,7 +780,7 @@ jscout(int c, char *fs) /* string character out */ } else if (c>0xffff && strstr(fs,"-UTF16-")!=NULL) { sprintf(s, "a<%04x%04x>p", UTF32toUTF16HS(c), UTF32toUTF16LS(c)); } else { - if ((strstr(fs,"-RKSJ-")!=NULL) || (SJIS && c > 0x2120)) c = JIStoSJIS(c); + if ((strstr(fs,"-RKSJ-")!=NULL)) c = JIStoSJIS(c); sprintf(s, "a<%04x>p", c); } cmdout(s); -- cgit v1.2.3