Skip to content

Commit 7ea07ab

Browse files
修复windows平台乱码&emoji表情显示异常的问题 (#3)
* 修复emoji表情显示错误,添加过时语法检查。 * 修复emoji表情显示异常的错误,添加了过时语法检查。 * Update xmake.lua --------- Co-authored-by: SPeak <speakshen@163.com>
1 parent af8a5f9 commit 7ea07ab

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

dslings/xmake.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
add_includedirs(".")
22

3+
if is_host("windows") then
4+
set_encodings("source:utf-8", "target:utf-8")
5+
end
6+
37
target("00-0-hello-mcpp")
48
add_files("hello-mcpp.cpp")
59

0 commit comments

Comments
 (0)