file with special characters breaks terminal output #14582

Closed
opened 2026-01-31 04:14:06 +00:00 by claunia · 2 comments
Owner

Originally created by @pgilsonmsft on GitHub (Jul 19, 2021).

I have a file on disk named “GroupMembers.csv” (where the last 3 chars are e2 80 9d in hex), when I list the directory contents with dir this stops terminal output and waits for input. Happens with powershell, command prompt. Ubuntu ls behaves slightly differently, lists the file as “GroupMembers.csvâ€\302\235, but completes successfully.

A regular cmd.exe dir works fine in this directory.

Originally created by @pgilsonmsft on GitHub (Jul 19, 2021). I have a file on disk named “GroupMembers.csv” (where the last 3 chars are e2 80 9d in hex), when I list the directory contents with dir this stops terminal output and waits for input. Happens with powershell, command prompt. Ubuntu ls behaves slightly differently, lists the file as “GroupMembers.csvâ€\302\235, but completes successfully. A regular cmd.exe dir works fine in this directory.
claunia added the Resolution-Duplicate label 2026-01-31 04:14:06 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Jul 19, 2021):

Thanks for the report! This is actually already being tracked by another issue on our repo - please refer to #10310 for more discussion.

/dup #10310

@zadjii-msft commented on GitHub (Jul 19, 2021): Thanks for the report! This is actually already being tracked by another issue on our repo - please refer to #10310 for more discussion. /dup #10310
Author
Owner

@ghost commented on GitHub (Jul 19, 2021):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Jul 19, 2021): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#14582