From 5ae93dfdccfe9457bdb1f54b33c76359f6c3b861 Mon Sep 17 00:00:00 2001 From: Brandon Casey Date: Mon, 18 May 2009 18:44:38 -0500 Subject: t3900: use ancient iconv names for backward compatibility Some old iconv implementations do not have many alternate names and/or do not match character encoding names case insensitively. These implementations can not tell that utf-8 and UTF-8 are the same encoding and fail when trying to do the conversion. So use the old names, which modern implementations still support. The following conversions were performed: utf-8 --> UTF-8 ISO-8859-1 --> ISO8859-1 EUCJP --> eucJP Also update t9129 and t9500 which make use of the test files in t/t3900. Signed-off-by: Brandon Casey Signed-off-by: Junio C Hamano --- t/t3900/EUCJP.txt | 4 ---- t/t3900/ISO-8859-1.txt | 3 --- t/t3900/ISO8859-1.txt | 3 +++ t/t3900/eucJP.txt | 4 ++++ 4 files changed, 7 insertions(+), 7 deletions(-) delete mode 100644 t/t3900/EUCJP.txt delete mode 100644 t/t3900/ISO-8859-1.txt create mode 100644 t/t3900/ISO8859-1.txt create mode 100644 t/t3900/eucJP.txt (limited to 't/t3900') diff --git a/t/t3900/EUCJP.txt b/t/t3900/EUCJP.txt deleted file mode 100644 index 546f2aac01..0000000000 --- a/t/t3900/EUCJP.txt +++ /dev/null @@ -1,4 +0,0 @@ -¤Ï¤ì¤Ò¤Û¤Õ - -¤·¤Æ¤¤¤ë¤Î¤¬¡¢¤¤¤ë¤Î¤Ç¡£ -ßÀÉͤۤì¤×¤ê¤Ý¤ì¤Þ¤Ó¤°¤ê¤í¤Ø¡£ diff --git a/t/t3900/ISO-8859-1.txt b/t/t3900/ISO-8859-1.txt deleted file mode 100644 index 7cbef0ee6f..0000000000 --- a/t/t3900/ISO-8859-1.txt +++ /dev/null @@ -1,3 +0,0 @@ -ÄËÑÏÖ - -Ábçdèfg diff --git a/t/t3900/ISO8859-1.txt b/t/t3900/ISO8859-1.txt new file mode 100644 index 0000000000..7cbef0ee6f --- /dev/null +++ b/t/t3900/ISO8859-1.txt @@ -0,0 +1,3 @@ +ÄËÑÏÖ + +Ábçdèfg diff --git a/t/t3900/eucJP.txt b/t/t3900/eucJP.txt new file mode 100644 index 0000000000..546f2aac01 --- /dev/null +++ b/t/t3900/eucJP.txt @@ -0,0 +1,4 @@ +¤Ï¤ì¤Ò¤Û¤Õ + +¤·¤Æ¤¤¤ë¤Î¤¬¡¢¤¤¤ë¤Î¤Ç¡£ +ßÀÉͤۤì¤×¤ê¤Ý¤ì¤Þ¤Ó¤°¤ê¤í¤Ø¡£ -- cgit v1.2.3