Revision: 7813 https://osdn.net/projects/ttssh2/scm/svn/commits/7813 Author: zmatsuo Date: 2019-06-26 22:39:46 +0900 (Wed, 26 Jun 2019) Log Message: ----------- 4byteUTF-8のデコードが誤っていたので修正 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 2019-06-26 11:16:56 UTC (rev 7812) +++ trunk/doc/en/html/about/history.html 2019-06-26 13:39:46 UTC (rev 7813) @@ -40,6 +40,7 @@ </li> <li>Bug fixes <ul> + <li><!-- UTF-8\x8E\xF3\x90M\x8E\x9E\x81A4byte\x82\xCCUTF-8\x82̃f\x83R\x81[\x83h\x82\xF0\x8C\xEB\x82\xC1\x82Ă\xA2\x82\xBD\x82̂ŏC\x90\xB3 --></li> <li></li> </ul> </li> Modified: trunk/doc/ja/html/about/history.html =================================================================== --- trunk/doc/ja/html/about/history.html 2019-06-26 11:16:56 UTC (rev 7812) +++ trunk/doc/ja/html/about/history.html 2019-06-26 13:39:46 UTC (rev 7813) @@ -40,6 +40,7 @@ </li> <li>\x83o\x83O\x8FC\x90\xB3 <ul> + <li>UTF-8\x8E\xF3\x90M\x8E\x9E\x81A4byte\x82\xCCUTF-8\x82̃f\x83R\x81[\x83h\x82\xF0\x8C\xEB\x82\xC1\x82Ă\xA2\x82\xBD\x82̂ŏC\x90\xB3</li> <li></li> </ul> </li> Modified: trunk/teraterm/teraterm/vtterm.c =================================================================== --- trunk/teraterm/teraterm/vtterm.c 2019-06-26 11:16:56 UTC (rev 7812) +++ trunk/teraterm/teraterm/vtterm.c 2019-06-26 13:39:46 UTC (rev 7813) @@ -5636,7 +5636,7 @@ return TRUE; } - if ((buf[0] & 0xf1) == 0xf0 && + if ((buf[0] & 0xf8) == 0xf0 && (buf[1] & 0xc0) == 0x80 && (buf[2] & 0xc0) == 0x80 && (buf[3] & 0xc0) == 0x80)