Reload fails if profiles.json saved as UTF-8-BOM #1595

Open
opened 2026-01-30 22:31:29 +00:00 by claunia · 0 comments
Owner

Originally created by @SJang1 on GitHub (Jun 11, 2019).

Environment

Windows build number: Microsoft Windows [Version 10.0.18912.1001]
Windows Terminal version (if applicable): commit b9d83ba, happened after commit 8a69be0

Steps to reproduce

Save with Visual Studio IDE with utf-8 needed chars, or save as UTF-8-BOM with any kind of text editor.
Both make encode UTF-8-BOM.

Expected behavior

Reloads correctly, works fine.

Actual behavior

image
And doesn't reload profiles.

At commit id 2da5b0b, It actually reloaded it, and those utf-8 needed chars looked crazy..

Originally created by @SJang1 on GitHub (Jun 11, 2019). <!-- This bug tracker is monitored by Windows Terminal development team and other technical folks. **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> # Environment ```none Windows build number: Microsoft Windows [Version 10.0.18912.1001] Windows Terminal version (if applicable): commit b9d83ba, happened after commit 8a69be0 ``` # Steps to reproduce <!-- A description of how to trigger this bug. --> Save with Visual Studio IDE with utf-8 needed chars, or save as UTF-8-BOM with any kind of text editor. Both make encode UTF-8-BOM. # Expected behavior <!-- A description of what you're expecting, possibly containing screenshots or reference material. --> Reloads correctly, works fine. # Actual behavior <!-- What's actually happening? --> ![image](https://user-images.githubusercontent.com/29011440/59274416-4361a800-8c95-11e9-83b7-7998fc5c6ac9.png) And doesn't reload profiles. At commit id 2da5b0b, It actually reloaded it, and those utf-8 needed chars looked crazy..
claunia added the Help WantedArea-SettingsIssue-BugNeeds-Tag-FixProduct-Terminal labels 2026-01-30 22:31:30 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#1595