terminal: Settings might not load correctly if file is saved as ANSI, not UTF-8 (WAS: No background image displayed if set to a path that contains accented chars.)

Environment

Windows build number: 10.0.18363.836
Windows Terminal version (if applicable): 1.0.1401.0

Any other software? No.

Steps to reproduce

Set $.profiles.defaults.backgroundImage to a path that contains accented chars. For example Pictures in Hungarian is Képek, so my path setting is like: "backgroundImage": "C:\\Users\\Gabor\\Képek\\picture.png"

Expected behavior

The selected image is expected to be displayed as the background image.

Actual behavior

No background image is dispayed as if I did not set $.profiles.defaults.backgroundImage.

Please note: if the same image is in my Desktop directory which is Asztal in Hungarian ("backgroundImage": "C:\\Users\\Gabor\\Asztal\\picture.png") then the picture is displayed correctly.

About this issue

  • Original URL
  • State: open
  • Created 4 years ago
  • Comments: 16 (8 by maintainers)

Most upvoted comments

Ah! Sorry I misunderstood you. I didn’t phrase my question very well.

I’ll pop this back into the triage queue. It’s absolutely not a design decision to not support anybody who doesn’t speak only English.

Okay. So… The pictures folder is actually named Pictures on disk, and it’s got a desktop.ini file in it that changes the display name to Képek. There’s nothing we can really do about that, unfortunately.

Best recommendation: when using localized paths, please use “copy as path” (shift+right-click in explorer) to get the actual final filename.

Thanks!