Unable to pasteC1 control characters #15283

Open
opened 2026-01-31 04:33:42 +00:00 by claunia · 0 comments
Owner

Originally created by @NightFurySL2001 on GitHub (Sep 20, 2021).

Windows Terminal version (or Windows build number)

Microsoft Windows [Version 10.0.19043.1237]

Other Software

No response

Steps to reproduce

Copy and paste the following text:

A9§9

Additional steps: run py and then copy paste the following:

"A9§9".encode("latin1").decode("gb18030")

There should be one control character (U+0081) between A and 9.

Expected Behavior

A missing character (U+0081) should appear in between æ and 9 which appeared in Command Prompt and Windows PowerShell. Running the Python command should output A・ (A followed by U+30FB).

image

image

Actual Behavior

The C1 control character did not get pasted and resulted in error.

image

Originally created by @NightFurySL2001 on GitHub (Sep 20, 2021). ### Windows Terminal version (or Windows build number) Microsoft Windows [Version 10.0.19043.1237] ### Other Software _No response_ ### Steps to reproduce Copy and paste the following text: ``` A9§9 ``` Additional steps: run `py` and then copy paste the following: ``` "A9§9".encode("latin1").decode("gb18030") ``` There should be one control character (U+0081) between `A` and `9`. ### Expected Behavior A missing character (U+0081) should appear in between `æ` and `9` which appeared in Command Prompt and Windows PowerShell. Running the Python command should output `A・` (A followed by U+30FB). ![image](https://user-images.githubusercontent.com/33471049/134027920-fdf3570b-b1ad-4048-b0c9-fd3c0f221408.png) ![image](https://user-images.githubusercontent.com/33471049/134028030-1476ff45-89a1-4434-9372-04115b153ac5.png) ### Actual Behavior The C1 control character did not get pasted and resulted in error. ![image](https://user-images.githubusercontent.com/33471049/134028250-827b939e-1c21-4398-8f6c-f5d52d545780.png)
claunia added the Resolution-By-DesignNeeds-Tag-Fix labels 2026-01-31 04:33:42 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#15283