<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>On Oct 28, 2014, at 1:55 PM, Zachary Turner <<a href="mailto:zturner@google.com">zturner@google.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div class="gmail_quote">On Tue Oct 28 2014 at 1:46:26 PM Vince Harron <<a href="mailto:vharron@google.com">vharron@google.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br></div><div dir="ltr"><div><font face="arial, sans-serif">> </font><span style="font-family:arial,sans-serif;font-size:13px">- rework the Editline rewrite, so it either uses standard 8 bit chars, or wchar_t/utf8 depending on the platform.  This would be conditionally built depending on the platform.</span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div></div><div dir="ltr"><div><span style="font-family:arial,sans-serif;font-size:13px">This would be my favorite option if possible.  wchar_t never really took roots in Linux AFAIK.</span></div></div></blockquote><div><br></div><div>Also probably the best option for Windows, although it's worth pointing out that at least for now, most other stuff in LLDB doesn't really use wide character strings either, so char would be the path of least resistance for Windows right now.</div></div></div></blockquote><div><br></div><div>With the Editline rewrite I made the explicit decision to insulate the rest of LLDB from wide characters and strings by encoding everything as UTF8.  I agree that reverting to char-only input is a perfectly reasonable solution for platforms that don't yet include wchar-aware libedit implementations.</div><div><br></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><span style="background-color: rgba(255, 255, 255, 0);">Kate Stone <a href="mailto:k8stone@apple.com">k8stone@apple.com</a></span></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><span style="background-color: rgba(255, 255, 255, 0);"> Xcode Runtime Analysis Tools</span></div></body></html>