[Lldb-commits] [PATCH] D16680: Re-submit rL258759: Write the session log file in UTF-8.

Zachary Turner via lldb-commits lldb-commits at lists.llvm.org
Thu Jan 28 09:31:38 PST 2016


What if you try traceback.print_exception()?  Does it work?  Maybe it's
smart enough to detect whether it needs to encode the traceback before
printing.

On Thu, Jan 28, 2016 at 9:13 AM Tamas Berghammer <tberghammer at google.com>
wrote:

> tberghammer added a comment.
>
> I converted the strings it was complaining about but I haven't managed to
> get the traceback printing working without converting the data to utf-8
> manually. We are using traceback.format_exception to collect the stack
> trace what returns a string, then we store it in a variable and print it
> later.
>
>
> http://reviews.llvm.org/D16680
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160128/5f5c9ec3/attachment.html>


More information about the lldb-commits mailing list