Can't input Chinese characters when open a commandline program, with Windows Terminal as system's defualt Terminal emulator #18031

Open
opened 2026-01-31 06:01:50 +00:00 by claunia · 0 comments
Owner

Originally created by @yixinBC on GitHub (Jul 25, 2022).

Windows Terminal version

1.15.2002.0

Windows build number

10.0.22622.0

Other Software

  • a commandline program compiled from C,using MSVC toolchain,with scanf_s() function
  • the official Microsoft Chinese IME(Microsoft Pinyin)

Steps to reproduce

  1. I set the Windows Terminal as system's defualt Terminal emulator
  2. I open the C program via double click it
  3. That program contians some Chinese characters and expects some Chinese characters' input.
  4. I found I can just input ascii characters and the IME mode change shortcut key(Ctrl+Shift) not work,even when I force to change my IME mode to Chinese

Expected Behavior

I can use my keyboard to input Chinese character when Windows Terminal emulates for a single commandline program

Actual Behavior

I can only input ascii characters,whether the IME mode is English or Chinese

Originally created by @yixinBC on GitHub (Jul 25, 2022). ### Windows Terminal version 1.15.2002.0 ### Windows build number 10.0.22622.0 ### Other Software - a commandline program compiled from C,using MSVC toolchain,with scanf_s() function - the official Microsoft Chinese IME(Microsoft Pinyin) ### Steps to reproduce 1. I set the Windows Terminal as system's defualt Terminal emulator 2. I open the C program via double click it 3. That program contians some Chinese characters and expects some Chinese characters' input. 4. I found I can just input ascii characters and the IME mode change shortcut key(Ctrl+Shift) not work,even when I force to change my IME mode to Chinese ### Expected Behavior I can use my keyboard to input Chinese character when Windows Terminal emulates for a single commandline program ### Actual Behavior I can only input ascii characters,whether the IME mode is English or Chinese
claunia added the Issue-BugResolution-Duplicate labels 2026-01-31 06:01:50 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#18031