compnerd wrote: UTF-8 is a multibyte encoding, and if there is existing content in the output string, the generated result may not be a valid string, if you passed in a buffer with `\xe0` and then convert the input of `a`, we would get something that is invalid.
https://github.com/llvm/llvm-project/pull/134150 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits