From 29c71c46bbaf303d0828fe64bb2462d0fed595c4 Mon Sep 17 00:00:00 2001 From: Hernan Martinez Date: Fri, 11 Apr 2025 04:02:11 -0600 Subject: [PATCH] Fix compiling failure by LLVM/Clang's Windres Call Windres with explicit UTF-8 encoding for reading .RC files. Fixes #16410, close #16411 --- PowerEditor/gcc/makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PowerEditor/gcc/makefile b/PowerEditor/gcc/makefile index a372392b5..5f1ec2361 100644 --- a/PowerEditor/gcc/makefile +++ b/PowerEditor/gcc/makefile @@ -44,7 +44,7 @@ endif CXXFLAGS := -include $(GCC_DIRECTORY)/gcc-fixes.h -std=c++20 RC := $(CROSS_COMPILE)windres -RCFLAGS := +RCFLAGS := --codepage=65001 CPP_PATH := $(SCINTILLA_DIRECTORY)/include $(LEXILLA_DIRECTORY)/include CPP_DEFINE := UNICODE _UNICODE OEMRESOURCE NOMINMAX _WIN32_WINNT=_WIN32_WINNT_WIN7 NTDDI_VERSION=NTDDI_WIN7 TIXML_USE_STL TIXMLA_USE_STL LD := $(CXX)