microsoft/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.)

Open

#6.164 geöffnet am 23. Mai 2020

Auf GitHub ansehen
 (16 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C++ (3.212 Forks)batch import
Area-SettingsArea-TerminalControlHelp WantedIssue-BugPriority-2Product-Terminal

Repository-Metriken

Stars
 (35.764 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 27T 19h) (24 gemergte PRs in 30 T)

Beschreibung

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.

Contributor Guide