commit e1d1010: [Minor] Always use UTF8 as the system encoding (for libicu)

Vsevolod Stakhov vsevolod at highsecure.ru
Mon May 17 15:35:04 UTC 2021


Author: Vsevolod Stakhov
Date: 2021-05-17 16:33:51 +0100
URL: https://github.com/rspamd/rspamd/commit/e1d1010aed834b76c68419456ee7484fbe35a3f8

[Minor] Always use UTF8 as the system encoding (for libicu)

---
 CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5f12ae437..9706637e0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -252,6 +252,7 @@ SET(CMAKE_CXX_FLAGS "${CMAKE_C_OPT_FLAGS} ${CMAKE_CXX_FLAGS}")
 
 ADD_DEFINITIONS(-DHAVE_CONFIG_H)
 ADD_DEFINITIONS(-DDOCTEST_CONFIG_NO_MULTI_LANE_ATOMICS)
+ADD_DEFINITIONS(-DU_CHARSET_IS_UTF8)
 
 # Check platform specific includes
 CHECK_INCLUDE_FILES(sys/types.h HAVE_SYS_TYPES_H)


More information about the Commits mailing list