zoxide icon indicating copy to clipboard operation
zoxide copied to clipboard

Accents are not supported

Open fnuttens opened this issue 2 years ago • 0 comments

If an accent exists in a stored path (e.g. D:\Documents\Dev\foobàr\baz), then an error occurs, here with z baz:

Set-Location:
Line |
  17 |          Set-Location -LiteralPath $dir -Passthru -ErrorAction Stop
     |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Cannot find path 'D:\Documents\Dev\foobàr\baz' because it does not exist.

I observed this behavior with 'é' and 'à'. I use PowerShell 7 on Windows.

fnuttens avatar Jul 05 '22 21:07 fnuttens