From 78e652354c7ca3bd09430a19358f8450b3b26a1d Mon Sep 17 00:00:00 2001 From: zhaolei <353719554@qq.com> Date: Mon, 2 Feb 2026 21:22:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E7=9C=8B=E8=A1=A8=E6=A0=BC=E6=B1=89?= =?UTF-8?q?=E5=AD=97=E6=98=BE=E7=A4=BA=E4=B9=B1=E7=A0=81=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WellLogUI/src/WellLogTableDialogNew.cpp | 3 ++- WellLogUI/src/griddataadapter.cpp | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/WellLogUI/src/WellLogTableDialogNew.cpp b/WellLogUI/src/WellLogTableDialogNew.cpp index 27e25d1..6d05c25 100644 --- a/WellLogUI/src/WellLogTableDialogNew.cpp +++ b/WellLogUI/src/WellLogTableDialogNew.cpp @@ -636,7 +636,8 @@ void WellLogTableDialogNew::slotSave() char buf[513]; if(field[j].RepCode == 6 || field[j].Reserved) { - strcpy(buf, mColumn.toStdString().c_str()); + //strcpy(buf, mColumn.toStdString().c_str()); + strcpy(buf, mColumn.toLocal8Bit().data()); logio->SetTableFieldData(iIndex, j, buf, row + 1); } else diff --git a/WellLogUI/src/griddataadapter.cpp b/WellLogUI/src/griddataadapter.cpp index 7d62f4b..49f8078 100644 --- a/WellLogUI/src/griddataadapter.cpp +++ b/WellLogUI/src/griddataadapter.cpp @@ -2775,7 +2775,8 @@ void GridDataAdapter::updatetTableWellLogData() QString Qbug = digDec(/*QString::fromLocal8Bit*/(buf)); lstData<