From 089b774070b7b3ca32ed7e156cbb063a1e05d157 Mon Sep 17 00:00:00 2001 From: Zhiqiang Wang <1296468573@qq.com> Date: Tue, 11 Jan 2022 21:33:18 +0800 Subject: [PATCH] [TD-12848](other): win charset utf-8 error (#9712) --- src/os/src/windows/wSysinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/os/src/windows/wSysinfo.c b/src/os/src/windows/wSysinfo.c index 193a83d7d7..46a75e9a00 100644 --- a/src/os/src/windows/wSysinfo.c +++ b/src/os/src/windows/wSysinfo.c @@ -120,7 +120,7 @@ static void taosGetSystemLocale() { SGlobalCfg *cfg_charset = taosGetConfigOption("charset"); if (cfg_charset && cfg_charset->cfgStatus < TAOS_CFG_CSTATUS_DEFAULT) { - strcpy(tsCharset, "cp936"); + strcpy(tsCharset, "UTF-8"); cfg_charset->cfgStatus = TAOS_CFG_CSTATUS_DEFAULT; uInfo("charset not configured, set to default:%s", tsCharset); } -- GitLab