Revision: 10738 https://osdn.net/projects/ttssh2/scm/svn/commits/10738 Author: zmatsuo Date: 2023-06-04 21:28:20 +0900 (Sun, 04 Jun 2023) Log Message: ----------- setlocale(LC_ALL, "") を追加 - strftime() の %B は「6月」となる - ログフィアル名でstrftime()(wcsftime())を使用 - 日本語の一般的な環境の場合 - 修正前は %B は「June」だった ticket #46476 Ticket Links: ------------ https://osdn.net/projects/ttssh2/tracker/detail/46476 Modified Paths: -------------- trunk/teraterm/teraterm/teraterm.cpp -------------- next part -------------- Modified: trunk/teraterm/teraterm/teraterm.cpp =================================================================== --- trunk/teraterm/teraterm/teraterm.cpp 2023-06-04 06:58:17 UTC (rev 10737) +++ trunk/teraterm/teraterm/teraterm.cpp 2023-06-04 12:28:20 UTC (rev 10738) @@ -33,6 +33,8 @@ #include <crtdbg.h> #include <windows.h> #include <htmlhelp.h> +#include <locale.h> + #include "teraterm.h" #include "tttypes.h" #include "commlib.h" @@ -297,6 +299,7 @@ #endif srand((unsigned int)time(NULL)); + setlocale(LC_ALL, ""); ts.TeraTermInstance = hInstance; hInst = hInstance;