Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8489269

Browse files
committed
Remove obsolete references to JIS0201.TXT JIS0208.TXT.
We don't use those files anymore, since commit1de9cc0.
1 parentd69fae2 commit8489269

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.TXTJIS0208.TXTJIS0212.TXT:
135+
JIS0212.TXT:
136136
$(DOWNLOAD) http://ftp.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/JIS/$(@F)
137137

138138
JOHAB.TXTKSX1001.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
nextif (/^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)

[8]ページ先頭

©2009-2025 Movatter.jp