MSVC: Set default code page to UTF-8 for resource compiler
Add "/c65001" to explicitly set the code page to UTF-8 for the resource compiler, otherwise the resource compiler may pick up the local code page instead. Already tested locally, most Qt repos build without any problem, only very little repos are untested due to my local environment can't build them. Change-Id: I7e20f936d6af1fbb90b5c20980190b727c9021de Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
This commit is contained in:
parent
0c0eadc484
commit
50bb5f8282
@ -1808,7 +1808,7 @@ function(_qt_internal_generate_win32_rc_file target)
|
||||
endif()
|
||||
|
||||
if(MSVC)
|
||||
set(extra_rc_flags "/nologo")
|
||||
set(extra_rc_flags "/c65001 /nologo")
|
||||
else()
|
||||
set(extra_rc_flags)
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user