Re: Two observations using GDB 13 snapshot

Eli Zaretskii via Gdb-patches
2023-01-05T15:12:29Z

> From: Christian Biesinger <cbiesinger@google.com>
> Date: Thu, 5 Jan 2023 09:49:14 -0500
> Cc: Tom Tromey <tom@tromey.com>, simark@simark.ca, gdb-patches@sourceware.org,
> luis.machado@arm.com
>
> > If it's okay for GDB to compare case-insensitively only ASCII
> > characters, then is the above patch mature enough to go to the gdb-13
> > branch?
>
> If https://itanium-cxx-abi.github.io/cxx-abi/abi.html#mangle.name is
> up-to-date (?), then
> "This ABI does not yet specify a mangling for identifiers containing
> characters outside of _A-Za-z0-9."
>
> On the other hand, if
> https://rust-lang.github.io/rfcs/2603-rust-symbol-name-mangling-v0.html#punycode-vs-utf-8
> is to be believed, GCC/Clang/MSVC do use UTF-8 for symbol names. But I
> don't think strcasecmp on Windows uses UTF-8?

No, I think Windows would use UTF-16 instead.