Skip to content

Broken case-insensitive search for cyrillic text #9980

@detouched

Description

@detouched

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

The text search seems to be always case-sensitive when looking for a string with Cyrillic characters.

Check out this sample:

ПРИВЕТ
привет
HELLO
hello

Now, if you search for hello, both last rows match, whereas if you search for привет, only the second one does. Switching to Match case and back makes no difference.

image image

Environment

Zed: v0.128.3 (Zed)
OS: macOS 14.4.0
Memory: 32 GiB
Architecture: x86_64

If applicable, add mockups / screenshots to help explain present your vision of the feature

Search with disabled Match case option should find all substrings regardless of the case.

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:editorFeedback for code editing, formatting, editor iterations, etcarea:internationalizationFeedback for human language support, translations, etcarea:searchbuffer search, project search, etcbugDEPRECATED label: use issue type 'Bug' insteadstate:reproducibleVerified steps to reproduce included and someone on the team managed to reproduce

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions