diff options
| author | ruki <[email protected]> | 2023-08-24 23:01:48 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-08-24 23:01:48 +0800 |
| commit | 606f12ee98268a55f5039b38346899decf18520a (patch) | |
| tree | a3bdf982cc64e7e1df03145e3bfdc8fe578c2d2d | |
| parent | 5a9c5acf7cdc30171b81d4167f941aa045d495cb (diff) | |
fix encoding for msvc
| -rw-r--r-- | xmake/modules/core/tools/cl.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/core/tools/cl.lua b/xmake/modules/core/tools/cl.lua index 069c96d86..5f44197f6 100644 --- a/xmake/modules/core/tools/cl.lua +++ b/xmake/modules/core/tools/cl.lua @@ -350,10 +350,10 @@ function nf_encoding(self, encoding) table.insert(flags, "/utf-8") else if kind == "source" or not kind then - table.insert(flags, "-source-charset=" .. charset) + table.insert(flags, "-source-charset:" .. charset) end if kind == "target" or not kind then - table.insert(flags, "-execution-charset=" .. charset) + table.insert(flags, "-execution-charset:" .. charset) end end end |
