[Bug 28898] New: LLDB_EDITLINE_USE_WCHAR should be enabled on Arch.

Bug ID 28898
Summary LLDB_EDITLINE_USE_WCHAR should be enabled on Arch.
Product lldb
Version unspecified
Hardware PC
OS Linux
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@lists.llvm.org
Reporter pablo.hernandez.cerdan@outlook.com
CC llvm-bugs@lists.llvm.org
Classification Unclassified

Reporting upstream bug filed in Archlinux:
[https://bugs.archlinux.org/task/49974?project=0](https://bugs.archlinux.org/task/49974?project=0) .
And same issue asked on SO:

Extract from arch bug report:

After upgrading to [[libedit 20160618_3.1]] lldb no longer recognizes
characters correctly. Instead they are shown (and handled as) weird unicode
escape sequences, e.g. "\U+96272\U+96275\U+9626E" instead of "run". The exact
numbers also seem to change between restarts but the last two numbers always
represent the correct ascii hex code.


The NetBSD upstream for my package [..libedit..] now only build with unicode
(wide-char/UTF-8) support.
So it looks like LLDB_EDITLINE_USE_WCHAR=1 should be used on Arch Linux: