Revision: 10768 https://osdn.net/projects/ttssh2/scm/svn/commits/10768 Author: zmatsuo Date: 2023-06-16 23:18:03 +0900 (Fri, 16 Jun 2023) Log Message: ----------- CP949 を誤って CP51949 としていたので修正 - r8766 で CP51949 としていた Revision Links: -------------- https://osdn.net/projects/ttssh2/scm/svn/commits/8766 Modified Paths: -------------- trunk/teraterm/common/ttlib_charset.cpp trunk/teraterm/common/tttypes_charset.h trunk/teraterm/teraterm/charset.c trunk/teraterm/teraterm/coding_pp.cpp -------------- next part -------------- Modified: trunk/teraterm/common/ttlib_charset.cpp =================================================================== --- trunk/teraterm/common/ttlib_charset.cpp 2023-06-16 13:44:33 UTC (rev 10767) +++ trunk/teraterm/common/ttlib_charset.cpp 2023-06-16 14:18:03 UTC (rev 10768) @@ -67,7 +67,7 @@ { IdRussian, IdKOI8, "Russian/KOI8-R", "KOI8-R" }, { IdRussian, Id866, "Russian/CP866", "CP866" }, { IdRussian, IdISO, "Russian/ISO 8859-5", "ISO8859-5" }, - { IdKorean, IdKoreanCP51949, "Korean/KS5601 (CP51949)", "KS5601" }, + { IdKorean, IdKoreanCP949, "Korean/KS5601 (CP949)", "KS5601" }, { IdKorean, IdUTF8, "Korean/UTF-8", "UTF-8" }, { IdChinese, IdCnGB2312, "China/GB2312 (CP936)", "GB2312" }, { IdChinese, IdCnBig5, "China/Big5 (CP950)", "BIG5" }, Modified: trunk/teraterm/common/tttypes_charset.h =================================================================== --- trunk/teraterm/common/tttypes_charset.h 2023-06-16 13:44:33 UTC (rev 10767) +++ trunk/teraterm/common/tttypes_charset.h 2023-06-16 14:18:03 UTC (rev 10768) @@ -75,7 +75,7 @@ // ts.Language == IdKorean // Korean -#define IdKoreanCP51949 1 // CP51949, KS5601 +#define IdKoreanCP949 1 // CP949, KS5601 // ts.Language == IdChinese // China Modified: trunk/teraterm/teraterm/charset.c =================================================================== --- trunk/teraterm/teraterm/charset.c 2023-06-16 13:44:33 UTC (rev 10767) +++ trunk/teraterm/teraterm/charset.c 2023-06-16 14:18:03 UTC (rev 10768) @@ -379,7 +379,7 @@ ((0x81<=b) && (b<=0xFE))) { unsigned long u32 = 0; - if (ts.KanjiCode == IdKoreanCP51949) { + if (ts.KanjiCode == IdKoreanCP949) { // CP51949 Kanji = Kanji + b; u32 = MBCP_UTF32(Kanji, 51949); Modified: trunk/teraterm/teraterm/coding_pp.cpp =================================================================== --- trunk/teraterm/teraterm/coding_pp.cpp 2023-06-16 13:44:33 UTC (rev 10767) +++ trunk/teraterm/teraterm/coding_pp.cpp 2023-06-16 14:18:03 UTC (rev 10768) @@ -182,7 +182,7 @@ else if (lang == IdRussian && (coding == IdWindows || coding == IdKOI8 || coding == Id866 || coding == IdISO)) { } - else if (lang == IdKorean && coding == IdKoreanCP51949) { + else if (lang == IdKorean && coding == IdKoreanCP949) { ; } else if (lang == IdChinese && (coding == IdCnGB2312 || coding == IdCnBig5)) {