summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/cl.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2024-03-09 22:44:01 +0800
committerruki <[email protected]>2024-03-09 22:44:01 +0800
commit59c9f7e5c52bc5f5f0669d340652046f7e4fae92 (patch)
tree3ab4322c890284e8c4cc7279c1ef4d009a5449f9 /xmake/modules/core/tools/cl.lua
parent67dce6e822d59b0722e15c1afe76262f29310f70 (diff)
add gb2312 encoding
Diffstat (limited to 'xmake/modules/core/tools/cl.lua')
-rw-r--r--xmake/modules/core/tools/cl.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/cl.lua b/xmake/modules/core/tools/cl.lua
index 18f6ee868..8702dade6 100644
--- a/xmake/modules/core/tools/cl.lua
+++ b/xmake/modules/core/tools/cl.lua
@@ -363,7 +363,8 @@ function nf_encoding(self, encoding)
end
local charsets = {
["utf-8"] = "utf-8",
- utf8 = "utf-8"
+ utf8 = "utf-8",
+ gb2312 = "gb2312"
}
local flags = {}
charset = charsets[charset:lower()]