From efad01e547f30d66d90e486c91c3afa0dbaceed3 Mon Sep 17 00:00:00 2001 From: ruki Date: Sat, 28 Mar 2020 22:25:41 +0800 Subject: fix rc output --- xmake/modules/core/tools/rc.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'xmake/modules/core/tools/rc.lua') diff --git a/xmake/modules/core/tools/rc.lua b/xmake/modules/core/tools/rc.lua index 13c31bb50..12c94fa5f 100644 --- a/xmake/modules/core/tools/rc.lua +++ b/xmake/modules/core/tools/rc.lua @@ -58,7 +58,8 @@ function _compile1(self, sourcefile, objectfile, dependinfo, flags) try { function () - local outdata, errdata = vstool.iorunv(_compargv1(self, sourcefile, objectfile, flags)) + -- @note we need not uses vstool.iorunv to enable unicode output for rc.exe + local outdata, errdata = os.iorunv(_compargv1(self, sourcefile, objectfile, flags)) return (outdata or "") .. (errdata or "") end, catch -- cgit v1.3.1