* uni2tab.c : don't use obsoleted shiftjis.txt.
svn path=/trunk/mcs/; revision=131755
+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).
2009-04-15 Atsushi Enomoto <atsushi@ximian.com>
* table_from.cs, table_to.cs : fix misuse of indexers (invalid code).
-Required files from ftp.unicode.org: Unihan.txt, shiftjis.txt
+Required files from ftp.unicode.org: Unihan.txt, CP932.TXT
- /* 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 */
to get mappings for non-CJK characters */
- if((file = fopen("shiftjis.txt", "r")) == NULL)
+ if((file = fopen("CP932.TXT", "r")) == NULL)
- perror("shiftjis.txt");
return 1;
}
while(fgets(buffer, sizeof(buffer), file))
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)
{
*/
static void convertSJISLine(char *buf)
{