diff --git a/lldb/source/Host/common/Editline.cpp b/lldb/source/Host/common/Editline.cpp --- a/lldb/source/Host/common/Editline.cpp +++ b/lldb/source/Host/common/Editline.cpp @@ -1401,6 +1401,9 @@ } } #endif + + // Required for libedit unicode as it uses iswprint. + ::setlocale(LC_CTYPE, ""); } Editline::~Editline() {