From 841f587715fff277199fe1fbcca8d8c93c5b301b Mon Sep 17 00:00:00 2001 From: sirakaba Date: Tue, 19 Oct 2010 13:22:04 +0000 Subject: [PATCH 1/1] =?utf8?q?Unicode=E3=81=A0=E3=81=A8=E5=95=8F=E9=A1=8C?= =?utf8?q?=E3=81=8C=E7=94=9F=E3=81=98=E3=82=8B=E5=A0=B4=E5=90=88=E3=81=8C?= =?utf8?q?=E5=A4=9A=E3=81=84=E3=81=9F=E3=82=81=E3=80=81=E6=A8=99=E6=BA=96?= =?utf8?q?=E5=87=BA=E5=8A=9B=E3=82=92UTF-8=E3=81=A8=E3=81=97=E3=81=A6?= =?utf8?q?=E8=AA=AD=E3=81=BE=E3=81=AA=E3=81=84=E3=82=88=E3=81=86=E5=A4=89?= =?utf8?q?=E6=9B=B4=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/tpi/tpi@386 9df91469-1e22-0410-86e7-ea8537beb833 --- doc/history.html | 1 + src/plugin/cuiWrapper/cuiWrapper.cpp | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/history.html b/doc/history.html index b13031d..c6a182f 100644 --- a/doc/history.html +++ b/doc/history.html @@ -32,6 +32,7 @@
diff --git a/src/plugin/cuiWrapper/cuiWrapper.cpp b/src/plugin/cuiWrapper/cuiWrapper.cpp index 7f6ef37..d633f7d 100644 --- a/src/plugin/cuiWrapper/cuiWrapper.cpp +++ b/src/plugin/cuiWrapper/cuiWrapper.cpp @@ -117,7 +117,9 @@ int myExecute(const wxString & szCommandLine, wxString * szOutput, const wxStrin { memset(sz, 0, sizeof(sz)); ::ReadFile(hRead, & sz, sizeof(sz), & dwSize, NULL); - * szOutput += UTF82String(sz); + * szOutput += wxString(sz); + // UTF-8以外の文字コードだと、UTF82Stringを使うと書庫が開けなくなる。データの切り出しにも影響。 +// * szOutput += UTF82String(sz); // ::MessageBoxA(NULL, sz, NULL, 0); } else if (::WaitForSingleObject(pi.hProcess, 0) == WAIT_OBJECT_0) -- 2.11.0