+2009-04-15 Atsushi Enomoto <atsushi@ximian.com>
+
+ * uni2tab.c : don't use obsoleted shiftjis.txt.
+
2009-04-15 Atsushi Enomoto <atsushi@ximian.com>
* table_from.cs, table_to.cs : fix misuse of indexers (invalid code).
Usage: uni2tab
-Required files from ftp.unicode.org: Unihan.txt, shiftjis.txt
+Required files from ftp.unicode.org: Unihan.txt, CP932.TXT
*/
}
fclose(file);
- /* Load the relevant contents from the shiftjis.txt file,
+ /* Load the relevant contents from the CP932.TXT file,
to get mappings for non-CJK characters */
- if((file = fopen("shiftjis.txt", "r")) == NULL)
+ if((file = fopen("CP932.TXT", "r")) == NULL)
{
- perror("shiftjis.txt");
+ perror("CP932.TXT");
return 1;
}
while(fgets(buffer, sizeof(buffer), file))
}
/*
- * Convert a line from the "shiftjis.txt" file.
+ * Convert a line from the "CP932.TXT" file.
*/
static void convertSJISLine(char *buf)
{