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 创建于 2020年5月23日

在 GitHub 查看
 (16 评论) (0 反应) (0 负责人)C++ (3,212 fork)batch import
Area-SettingsArea-TerminalControlHelp WantedIssue-BugPriority-2Product-Terminal

仓库指标

Star
 (35,764 star)
PR 合并指标
 (平均合并 27天 19小时) (30 天内合并 24 个 PR)

描述

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.

贡献者指南