diff options
| author | ruki <[email protected]> | 2021-09-22 22:52:53 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-09-22 11:26:36 +0800 |
| commit | 5e614774a6cc59832b66d007c59d6da3b77f124b (patch) | |
| tree | 87ff613be08437a46b2bd9e0b7e66b935762e2db /xmake/plugins/project/vstudio/impl/vsfile.lua | |
| parent | d62f35f77a30fe0280086241af2142b282fa1f17 (diff) | |
add bom for vs project generator
Diffstat (limited to 'xmake/plugins/project/vstudio/impl/vsfile.lua')
| -rw-r--r-- | xmake/plugins/project/vstudio/impl/vsfile.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/plugins/project/vstudio/impl/vsfile.lua b/xmake/plugins/project/vstudio/impl/vsfile.lua index a17384716..040bbee2b 100644 --- a/xmake/plugins/project/vstudio/impl/vsfile.lua +++ b/xmake/plugins/project/vstudio/impl/vsfile.lua @@ -97,7 +97,7 @@ end function open(filepath, mode) -- open it - local file = io.open(filepath, mode) + local file = io.open(filepath, mode, {encoding = "utf8bom"}) -- hook print, printf and write file._print_impl = file.print |
