Read UTF-8 settings in the PowerShell launcher #4799
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!4799
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-4798"
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?
@andrewpozdnakov7-jpg on GitHub · 2026-12-01 09:06 UTC · original
andrewpozdnakov7-jpg:codex2/fix/launcher-utf8-settings→main· +10 −1 · 1 files · 1 commits · openWhat it changes
The F1 menu writes
victory-settings.txtas UTF-8 without a BOM. On Windows PowerShell 5.1, the script launcher reads an unmarked file in the Windows code page and can change the characters in a saved path, including a custom keyboard bindings filename.play-nvidia.ps1now reads UTF-8 with BOM detection and falls back to the existing reader if UTF-8 decoding fails. A matching BOM still selects UTF-8 or UTF-16LE.How it was tested
v2026.11.30.03andmain5fabb46echanged a non-ASCII bindings filename in UTF-8 without a BOM. The other three formats read correctly.e54151a32f6cb6b82d9865604785d984018c34c6kept the filename exact in UTF-8 with and without a BOM, UTF-16LE with a BOM, and Windows-1251.-NoMenustill skips the saved file. The full script parsed andcargo xtask policy --stagedpassed for the one changed file.mainhas five existing Clippy errors. Main CI / check · Shared lint fix #4708Checked for overlap
Please retain the Git author on cherry-pick or rebase, or add
Co-authored-by: andrewpozdnakov7-jpg <[email protected]>if folding the change into another commit.AI-assisted with OpenAI Codex.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.