WT can not "see" directories/env variables starting with capital letters #23128

Open
opened 2026-01-31 08:33:14 +00:00 by claunia · 2 comments
Owner

Originally created by @endlessterror on GitHub (Apr 9, 2025).

Windows Terminal version

1.22.10731.0

Windows build number

10.0.19045.5608

Other Software

No response

Steps to reproduce

Scenario 1

  1. Create a directory Εκλογές at C:\
  2. Try to tab complete writing for example cd \Ε followed by tab, where 'E' is the capital greek letter epsilon

Scenario 2
In scenario 2I'm trying to print the content of environment variable $Env:ALLUSERSPROFILE.
1, With a terminal open (set to powershell) press $ followed by english capital letter E

Expected Behavior

Scenario 1
Tab should auto-complete c:\E το c:\Εκλογές

Scenario 2
Pressing $ produces the character on screen, pressing capital E produces E

Actual Behavior

Scenario 1
Nothing happens nothing is printed

Scenario 2
Pressing $ produces the character on screen, pressing capital E produces nothing. If small e is pressed it is shown just fine.

Originally created by @endlessterror on GitHub (Apr 9, 2025). ### Windows Terminal version 1.22.10731.0 ### Windows build number 10.0.19045.5608 ### Other Software _No response_ ### Steps to reproduce Scenario 1 1. Create a directory Εκλογές at C:\ 2. Try to tab complete writing for example cd \Ε followed by tab, where 'E' is the capital greek letter epsilon Scenario 2 In scenario 2I'm trying to print the content of environment variable $Env:ALLUSERSPROFILE. 1, With a terminal open (set to powershell) press $ followed by english capital letter E ### Expected Behavior Scenario 1 Tab should auto-complete c:\E το c:\Εκλογές Scenario 2 Pressing $ produces the character on screen, pressing capital E produces E ### Actual Behavior Scenario 1 Nothing happens nothing is printed Scenario 2 Pressing $ produces the character on screen, pressing capital E produces nothing. If small e is pressed it is shown just fine.
claunia added the Needs-TriageIssue-BugNeeds-Attention labels 2026-01-31 08:33:14 +00:00
Author
Owner

@DHowett commented on GitHub (Apr 9, 2025):

Thanks for the report!

Scenario 1 - it looks like E and Ε are different characters!

$ "EΕ" -split "" | % { "0x{0:X}" -f [int]$_[0] }
0x45
0x395

Are you sure you're entering the same one?

Does this work if you run PowerShell outside of Windows Terminal?

Scenario 2 -

Can you capture an input trace using the debug tap for Scenario 2/?

@DHowett commented on GitHub (Apr 9, 2025): Thanks for the report! Scenario 1 - it looks like `E` and `Ε` are different characters! ``` $ "EΕ" -split "" | % { "0x{0:X}" -f [int]$_[0] } 0x45 0x395 ``` Are you sure you're entering the same one? Does this work if you run PowerShell _outside_ of Windows Terminal? Scenario 2 - Can you capture an input trace using the [debug tap](https://github.com/microsoft/terminal/wiki/Troubleshooting-Tips#enabling-the-debug-tap) for Scenario 2/?
Author
Owner

@endlessterror commented on GitHub (Apr 10, 2025):

Hmm, I could not replicate scenario 2, perhaps I was trying with Greek caps?

I've made a debug tap on scenario 1, whereas I'm trying to mkdir \Ε (capital Greek epsilon). This does not work so I'm pressing ε (small Epsilon). Don't know how I'm supposed to upload the tap though, hope copying and pasting to a text file does the trick.

debug_tap.txt

Image

@endlessterror commented on GitHub (Apr 10, 2025): Hmm, I could not replicate scenario 2, perhaps I was trying with Greek caps? I've made a debug tap on scenario 1, whereas I'm trying to mkdir \Ε (capital Greek epsilon). This does not work so I'm pressing ε (small Epsilon). Don't know how I'm supposed to upload the tap though, hope copying and pasting to a text file does the trick. [debug_tap.txt](https://github.com/user-attachments/files/19678050/debug_tap.txt) ![Image](https://github.com/user-attachments/assets/c4f38c5f-0e28-47c2-85af-30aa95592744)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#23128