[lldb-dev] proposed change to remove conditional WCHAR support in libedit wrapper

Raphael “Teemperor” Isemann via lldb-dev lldb-dev at lists.llvm.org
Sun Jul 11 04:07:26 PDT 2021


What libedit version/port is Fedora using? I think the usual Linux port[1] is suffering from two issues: One is that most unicode characters with code points <= 256 are mapped to ‘unassigned’ instead of ‘insert character’ which prevents them from being entered. Why the other characters are just echo’d as their escaped code point I have not figured out yet.

[1] https://thrysoee.dk/editline/

> On 11 Jul 2021, at 11:28, Jan Kratochvil via lldb-dev <lldb-dev at lists.llvm.org> wrote:
> 
> On Sun, 11 Jul 2021 11:11:02 +0200, Jan Kratochvil via lldb-dev wrote:
>> OTOH the wide character does not work there and even not on Fedora 34 x86_64:
>> typing: žščř
>> (lldb) \U+017E\U+0161\U+010D\U+0159
>> error: 'žščř' is not a valid command.
>> typing: áéíóůúý
>> (lldb) \U+016F
>> error: 'ů' is not a valid command.
>> 
>> While mariadb client works fine on Fedora 34 x86_64:
>> MariaDB [(none)]> žščřáéíóůúý;
>> ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'žščřáéíóůúý' at line 1
>> 
>> Do you have an idea what can be wrong in LLDB?
> 
> I forgot to check OSX lldb which does work so I will have to find it out
> myself:
> 
> Apple Swift version 5.4.2 (swiftlang-1205.0.28.2 clang-1205.0.19.57)
> (lldb) žščř
> error: 'žščř' is not a valid command.
> 
> 
> Jan
> 
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev



More information about the lldb-dev mailing list