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 ouverte le 23 mai 2020

Voir sur GitHub
 (16 commentaires) (0 réactions) (0 assignés)C++ (3 212 forks)batch import
Area-SettingsArea-TerminalControlHelp WantedIssue-BugPriority-2Product-Terminal

Métriques du dépôt

Stars
 (35 764 stars)
Métriques de merge PR
 (Merge moyen 27j 19h) (24 PRs mergées en 30 j)

Description

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.

Guide contributeur