Skip to content

[Feature Request] Support Chinese Input in Homepage Search Bar #292

@shiranzby

Description

@shiranzby

Description:
Trouble:
Currently, the homepage search bar does not handle Chinese input properly. When typing Chinese queries using pinyin, repeated or garbled characters appear (e.g., typing "woshi" may result in "woossshhhiiii"), making the search experience unfriendly for Chinese users.

Possible problem

The input field may not correctly handle multi-byte Unicode characters or the compositio

The search bar might be listening only for raw keypress events rather than proper compositionstart / compositionupdate / compositionende

There may be encoding or buffer issues causing repeated chara

Maybe solution

Properly handle IME composition events in the

Use compositionstart, compositionupdate, and compositionend to track ongoing pinyin input.

Only commit input after composition ends.

Ensure the input supports Unicode and multi-byte characters correctly.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions