[llvm] [llvm-strings] Add --encoding={s,S,utf8} option (PR #221794)

via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 28 21:49:51 PDT 2026


================
@@ -101,6 +111,125 @@ static void strings(raw_ostream &OS, StringRef FileName,
     }
   };
 
+  std::locale Loc("");
----------------
aokblast wrote:

I remember a invalid locale in env variable throws a error in here. I am  not sure whethere we should handle this or not?

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


More information about the llvm-commits mailing list