Skip to content

filename quick search - partially ignoring accent in filename #1610

@mc-butler

Description

@mc-butler

Important

This issue was migrated from Trac:

Origin https://midnight-commander.org/ticket/1610
Reporter egmont (@egmontkob)

Fully UTF-8 environment. Suppose you have a file named "foobár" and you do a quick search for filenames (Ctrl+S).

You can either type "foobár" with the accent and it's fine. Or you can type "fooba" without accent. Surprisingly the last "a" still matches, but then there's no way to continue, you cannot follow with "r".

Either the unaccented "a" shouldn't match. Or, it's a very nice feature to match ignoring accents but then I should be able to continue with the "r", and presumably it should work the other way around too - searching for "á" should match "a".

I'm on Linux, using NFC everywhere, so it's not that "á" is an "a" followed by a combining accent. Unless mc internally uses that representation.

Version: 4.7.0-pre2. As far as I remember, this bug was not present in 4.6.x+utf8 patches.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: coreIssues not related to a specific subsystemprio: lowMinor problem or easily worked aroundver: 4.7.0-pre2Reproducible in version 4.7.0-pre2

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions