[llvm] Create a CharSetConverter class with both iconv and icu support (PR #74516)

Abhina Sree via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 6 07:44:46 PST 2025


================
@@ -552,6 +552,10 @@ else()
   option(LLVM_ENABLE_THREADS "Use threads if available." ON)
 endif()
 
+set(LLVM_ENABLE_ICU "ON" CACHE STRING "Use ICU for character conversion support if available. Can be ON, OFF, or FORCE_ON")
----------------
abhina-sree wrote:

Can you explain why we should default these to off? And should the default be different for iconv? The original decision in the RFC was to use ICU first if available, then use iconv.

https://github.com/llvm/llvm-project/pull/74516


More information about the llvm-commits mailing list