Skip to content

Can't use Chinese input method on chat page of unsloth studio in wsl #5262

Closed

Description

@king5699

After deploying unsloth studio's web page with source code in wsl, I can't use Chinese input method on chat page, or even copy and paste.

Activity

  1. zzz08900 commented on May 3, 2026

    @zzz08900

    With all due respect, but that sounds like you have a broken browser and/or broken input methods on your Windows.

  2. king5699 commented on May 3, 2026

    @king5699
    Author

    Thanks for the suggestion. However, my setup on the Windows 11 host works fine — I can use Chinese IME and Chrome without any issues in normal websites.

    The problem only appears on the Unsloth Studio chat page served from WSL. After switching to Chinese input, I can’t type or even paste content into the input box.

    So it seems more likely related to how the web UI (or frontend framework) handles IME events, rather than a broken browser or system input method.

  3. zzz08900 commented on May 3, 2026

    @zzz08900

    Are you sure WSL is supported by Unsloth? To me this configuration looks wired cause Unsloth supports both Win and Linux and requires access to physical GPU. There is no point running Unsloth within WSL.

    Also I can think of many things that WSL does behind the curtain that breaks stuff.

  4. Imagineer99 commented on May 3, 2026

    @Imagineer99
    Member

    I currently use WSL and works fine, It may be due to the Chinese input method being unsupported

  5. wywywywy commented on May 5, 2026

    @wywywywy

    I can confirm this. There's something weird about how it handles unicode.

    You can't enter emojis either. The chat strips out anything over a certain unicode space.

    If you try to enter an emoji, the chat input breaks - you won't be able to type anything any more.

    EDIT: Forgot to mention, copy & paste however works fine.

  6. wywywywy commented on May 5, 2026

    @wywywywy

    For the maintainers - this is a bug not a feature request

  7. wywywywy commented on May 5, 2026

    @wywywywy

    Probably related to this bug that was fixed 5 days ago assistant-ui/assistant-ui#3924 so hopefully it's just a case of updating the npm deps and recompile

  8. karlla1220 commented on May 6, 2026

    @karlla1220

    Same here. I am using powershell, not WSL.

  9. RyuTakeda2028 commented on May 6, 2026

    @RyuTakeda2028

    Same here. Version 2026.5.2 cannot input Chinese or English. Copy-paste doesn't work either. I've tried both Chrome and Safari, and input doesn't work in either. MacBook Pro M5 Max

  10. HUMORCE commented on May 6, 2026

    @HUMORCE

    Reproduced on macOS

  11. yansheng1003 commented on May 7, 2026

    @yansheng1003

    最新版本,還是不能输入任何文字

  12. langxiaopiao030 commented on May 7, 2026

    @langxiaopiao030

    My client is on MacOS and Windows, the server is on Debian 12, and I encountered the same issue. The previous version was still fine.

  13. ryder3005 commented on May 7, 2026

    @ryder3005

    vietnamese can't use too

  14. Imagineer99 commented on May 7, 2026

    @Imagineer99
    Member

    working on a fix

  15. self-assigned this
    on May 7, 2026
  16. linked a pull request that will close this issuefix: harden Studio IME composer sends #5327on May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

feature request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions