> On 12. Mar 2025, at 16:44, Amand Tihon via mc 
> <[email protected]> wrote:
> 
> If we decode the UTF-8 characters, we get these bytes:
> 
>>>> [hex(c) for c in '_à_á_'.encode('utf8')]
> ['0x5f', '0xc3', '0xa0', '0x5f', '0xc3', '0xa1', '0x5f']
> 
> And 0xa0 is the code for "Non-Breaking Space" in iso8859.

This is indeed a correct explanation of what is happening. I've reported an 
issue and attached a tentative patch: 
  https://github.com/MidnightCommander/mc/issues/4665

No idea if one can do better... I hope someone else can take a look.

-- 
mc mailing list
[email protected]
https://lists.midnight-commander.org/mailman/listinfo/mc

Reply via email to