Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8489269

Browse files
committed
Remove obsolete references to JIS0201.TXT JIS0208.TXT.
We don't use those files anymore, since commit 1de9cc0.
1 parent d69fae2 commit 8489269

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/backend/utils/mb/Unicode/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ gb-18030-2000.xml windows-949-2000.xml:
132132
GB2312.TXT:
133133
$(DOWNLOAD) 'http://trac.greenstone.org/browser/trunk/gsdl/unicode/MAPPINGS/EASTASIA/GB/GB2312.TXT?rev=1842&format=txt'
134134

135-
JIS0201.TXT JIS0208.TXT JIS0212.TXT:
135+
JIS0212.TXT:
136136
$(DOWNLOAD) http://ftp.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/JIS/$(@F)
137137

138138
JOHAB.TXT KSX1001.TXT:

src/backend/utils/mb/Unicode/convutils.pm

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,11 @@ sub read_source
5757

5858
next if (/^0x([0-9A-F]+)\s+(#.*)$/);
5959

60-
# Skip the first column for JIS0208.TXT
61-
if (!/^0x([0-9A-Fa-f]+)\s+0x([0-9A-Fa-f]+)\s+(?:0x([0-9A-Fa-f]+)\s+)?(#.*)$/)
60+
# The Unicode source files have three columns
61+
# 1: The "foreign" code (in hex)
62+
# 2: Unicode code point (in hex)
63+
# 3: Unicode name
64+
if (!/^0x([0-9A-Fa-f]+)\s+0x([0-9A-Fa-f]+)\s+(#.*)$/)
6265
{
6366
print STDERR "READ ERROR at line $. in $fname: $_\n";
6467
exit;

0 commit comments

Comments
 (0)