Skip to content

[Bug]: Chinese Character Send Button Disappear Bug #39614

@hhhwwwk

Description

@hhhwwwk

Bug Description

Send button fails to appear when typing plain Chinese text like "你好". It only appears after deleting a character (e.g., leaving just "你"). English input like "hello" works fine. The frontend validation logic seems to mishandle Chinese characters.

Steps to Reproduce

Send button fails to appear when typing plain Chinese text like "你好". It only appears after deleting a character (e.g., leaving just "你"). English input like "hello" works fine. The frontend validation logic seems to mishandle Chinese characters.

Expected Behavior

Send button fails to appear when typing plain Chinese text like "你好". It only appears after deleting a character (e.g., leaving just "你"). English input like "hello" works fine. The frontend validation logic seems to mishandle Chinese characters.

Actual Behavior

Send button fails to appear when typing plain Chinese text like "你好". It only appears after deleting a character (e.g., leaving just "你"). English input like "hello" works fine. The frontend validation logic seems to mishandle Chinese characters.

Affected Component

CLI (interactive chat)

Messaging Platform (if gateway-related)

No response

Debug Report

no

Operating System

windows11

Python Version

No response

Hermes Version

No response

Additional Logs / Traceback (optional)

Root Cause Analysis (optional)

No response

Proposed Fix (optional)

No response

Are you willing to submit a PR for this?

  • I'd like to fix this myself and submit a PR

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low — cosmetic, nice to havecomp/tuiTerminal UI (ui-tui/ + tui_gateway/)type/bugSomething isn't working

    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