[Ttssh2-commit] [6516] UTF-8 設定時に ISO-2022-JP の文字が表示出来ない問題を修正。

svnno****@sourc***** svnno****@sourc*****
2016年 10月 27日 (木) 12:06:49 JST


Revision: 6516
          http://sourceforge.jp/projects/ttssh2/scm/svn/commits/6516
Author:   doda
Date:     2016-10-27 12:06:48 +0900 (Thu, 27 Oct 2016)
Log Message:
-----------
UTF-8 設定時に ISO-2022-JP の文字が表示出来ない問題を修正。

Modified Paths:
--------------
    trunk/doc/en/html/about/history.html
    trunk/doc/ja/html/about/history.html
    trunk/teraterm/teraterm/vtterm.c

-------------- next part --------------
Modified: trunk/doc/en/html/about/history.html
===================================================================
--- trunk/doc/en/html/about/history.html	2016-10-27 03:06:46 UTC (rev 6515)
+++ trunk/doc/en/html/about/history.html	2016-10-27 03:06:48 UTC (rev 6516)
@@ -45,6 +45,7 @@
       <li>Windows 7 and Vista: When special operation is done on <a href="..\menu\setup-general.html">General setup dialog</a>, an application fault occurs.</li>
       <li>When <a href="../menu/file-log.html">Log dialog</a> is closed, the memory leak of Tera Term core(ttermpro.exe) is happened.</li>
       <!-- li>\x8E\xF3\x90M\x8A\xBF\x8E\x9A\x83R\x81[\x83h\x82\xAA EUC \x90ݒ\xE8\x82̎\x9E\x82\xC9 UTF-8 \x95\xB6\x8E\x9A\x97\xF1\x82\xF0\x95\\x8E\xA6\x82\xB5\x82\xBD\x8C\xE3\x81AUTF-8 \x90ݒ\xE8\x82ɕύX\x82\xB5\x82\xBD\x8E\x9E\x82Ɋ\xBF\x8E\x9A\x82\xAA\x90\xB3\x82\xB5\x82\xAD\x95\\x8E\xA6\x82\xB3\x82\xEA\x82Ȃ\xAD\x82Ȃ鎖\x82\xAA\x82\xA0\x82\xE9\x96\xE2\x91\xE8\x82\xF0\x8FC\x90\xB3\x82\xB5\x82\xBD\x81B</li -->
+      <!-- li>\x8E\xF3\x90M\x8A\xBF\x8E\x9A\x83R\x81[\x83h\x82\xAA UTF-8 \x90ݒ\xE8\x82̎\x9E\x82\xC9 ISO-2022-JP \x8A\xBF\x8E\x9A\x82\xAA\x95\\x8E\xA6\x8Fo\x97\x88\x82Ȃ\xA2\x96\xE2\x91\xE8\x82\xF0\x8FC\x90\xB3\x82\xB5\x82\xBD\x81B(\x93\xFA\x96{\x8Cꃂ\x81[\x83h\x82̂\xDD)</li -->
       <li>MACRO: When <a href="../macro/command/closesbox.html">closesbox</a> command is executed, the memory leak of Macro core(ttpmacro.exe) is happened.</li>
       <li>MACRO: The gethostname, gettitle, getmodemstatus, loginfo and logopen command will rarely be wrong.</li>
     </ul>

Modified: trunk/doc/ja/html/about/history.html
===================================================================
--- trunk/doc/ja/html/about/history.html	2016-10-27 03:06:46 UTC (rev 6515)
+++ trunk/doc/ja/html/about/history.html	2016-10-27 03:06:48 UTC (rev 6516)
@@ -45,6 +45,7 @@
       <li>Windows 7 / Vista \x82\xC5 <a href="..\menu\setup-general.html">General setup \x83_\x83C\x83A\x83\x8D\x83O</a> \x82œ\xC1\x8E\xEA\x82ȑ\x80\x8D\xEC\x82\xF0\x82\xB5\x82\xBD\x8E\x9E\x82ɗ\x8E\x82\xBF\x82\xE9\x96\xE2\x91\xE8\x82\xF0\x8FC\x90\xB3\x82\xB5\x82\xBD\x81B</li>
       <li><a href="../menu/file-log.html">\x83\x8D\x83O\x83_\x83C\x83A\x83\x8D\x83O</a>\x82\xF0\x95‚\xB6\x82\xBD\x8E\x9E\x81ATera Term\x96{\x91\xCC(ttermpro.exe)\x82\xAA\x83\x81\x83\x82\x83\x8A\x83\x8A\x81[\x83N\x82\xB7\x82\xE9\x96\xE2\x91\xE8\x82\xF0\x8FC\x90\xB3\x82\xB5\x82\xBD\x81B</li>
       <li>\x8E\xF3\x90M\x8A\xBF\x8E\x9A\x83R\x81[\x83h\x82\xAA EUC \x90ݒ\xE8\x82̎\x9E\x82\xC9 UTF-8 \x95\xB6\x8E\x9A\x97\xF1\x82\xF0\x95\\x8E\xA6\x82\xB5\x82\xBD\x8C\xE3\x81AUTF-8 \x90ݒ\xE8\x82ɕύX\x82\xB5\x82\xBD\x8E\x9E\x82Ɋ\xBF\x8E\x9A\x82\xAA\x90\xB3\x82\xB5\x82\xAD\x95\\x8E\xA6\x82\xB3\x82\xEA\x82Ȃ\xAD\x82Ȃ鎖\x82\xAA\x82\xA0\x82\xE9\x96\xE2\x91\xE8\x82\xF0\x8FC\x90\xB3\x82\xB5\x82\xBD\x81B</li>
+      <li>\x8E\xF3\x90M\x8A\xBF\x8E\x9A\x83R\x81[\x83h\x82\xAA UTF-8 \x90ݒ\xE8\x82̎\x9E\x82\xC9 ISO-2022-JP \x8A\xBF\x8E\x9A\x82\xAA\x95\\x8E\xA6\x8Fo\x97\x88\x82Ȃ\xA2\x96\xE2\x91\xE8\x82\xF0\x8FC\x90\xB3\x82\xB5\x82\xBD\x81B(\x93\xFA\x96{\x8Cꃂ\x81[\x83h\x82̂\xDD)</li>
       <li>MACRO: <a href="../macro/command/closesbox.html">closesbox</a>\x83R\x83}\x83\x93\x83h\x82̎\xC0\x8Ds\x8E\x9E\x81A\x83}\x83N\x83\x8D\x96{\x91\xCC(ttpmacro.exe)\x82\xAA\x83\x81\x83\x82\x83\x8A\x83\x8A\x81[\x83N\x82\xB7\x82\xE9\x96\xE2\x91\xE8\x82\xF0\x8FC\x90\xB3\x82\xB5\x82\xBD\x81B</li>
       <li>MACRO: gethostname, gettitle, getmodemstatus, loginfo, logopen \x83R\x83}\x83\x93\x83h\x82\xAA\x8AԌ\x87\x82ŃG\x83\x89\x81[\x82ɂȂ\xE9\x96\xE2\x91\xE8\x82\xF0\x8FC\x90\xB3\x82\xB5\x82\xBD\x81B</li>
     </ul>

Modified: trunk/teraterm/teraterm/vtterm.c
===================================================================
--- trunk/teraterm/teraterm/vtterm.c	2016-10-27 03:06:46 UTC (rev 6515)
+++ trunk/teraterm/teraterm/vtterm.c	2016-10-27 03:06:48 UTC (rev 6516)
@@ -5156,6 +5156,11 @@
 
 static void ParseASCII(BYTE b)
 {
+	if (ts.Language == IdJapanese) {
+		ParseFirstJP(b);
+		return;
+	}
+
 	if (SSflag) {
 		PutChar(b);
 		SSflag = FALSE;



Ttssh2-commit メーリングリストの案内