terminal icon indicating copy to clipboard operation
terminal copied to clipboard

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

Open endlessterror opened this issue 7 months ago • 2 comments

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.

endlessterror avatar Apr 09 '25 09:04 endlessterror

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 avatar Apr 09 '25 21:04 DHowett

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 avatar Apr 10 '25 04:04 endlessterror