fix: use an ASCII hyphen in the window title and usage banner #10
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Freminet--ScarlettX!10
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/10/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@AutoComput on GitHub · 2026-11-21 10:37 UTC · original
AutoComput:fix/ascii-window-title→main· +2 −2 · 2 files · 1 commits · merged 2026-11-22 09:58 UTCTL;DR
The output window title and the usage banner have an em dash in a narrow string literal. The source is UTF-8 and nothing switches the process to a UTF-8 code page, so on a cp1252 system the title reads
ScarlettX — Xbox Series X|Sand a cp437 console printsScarlettX ΓÇö Xbox Series X|S.Both now use a plain hyphen. Those were the only two non-ASCII string literals in the sources.
Checked the title with
GetWindowTextWand the banner bytes before and after. Touchesmain.cppthree lines above the usage line that #3 and #7 edit.