弹框乱码修改

This commit is contained in:
zhaolei 2026-04-10 09:05:56 +08:00
parent c8691b3983
commit 2089edf117
2 changed files with 4 additions and 0 deletions

View File

@ -19,6 +19,8 @@
#define REPR_USHORT 9 #define REPR_USHORT 9
#define REPR_UINT 10 #define REPR_UINT 10
#define REPR_ULONG 11 #define REPR_ULONG 11
#pragma execution_character_set("utf-8")
void removeStr(char* sdes,QString b,QString e) void removeStr(char* sdes,QString b,QString e)
{ {
QString des=sdes; QString des=sdes;

View File

@ -1,5 +1,7 @@
#include "CStringType.h" #include "CStringType.h"
#include <QLabel> #include <QLabel>
#pragma execution_character_set("utf-8")
char *m_temp=NULL; char *m_temp=NULL;
CString::CString(const char *str) CString::CString(const char *str)
{ {