fix: windows build failure in UTF-16 conversion #499
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
GPU
GUI
help wanted
question
Shaders
Video
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/KytyPS5--KytyPS5!499
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/499/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?
@Almo7aya on GitHub · 2026-09-07 07:49 UTC · original
Almo7aya:fix/windows_utf16→main· +4 −1 · 1 files · 1 commits · merged 2026-09-07 07:52 UTCFix
Utf16ToUtf8passing string-view iterators tostd::wstring_convert::to_bytes, which requires pointers and fails tocompile with the Windows toolchain.
Use
data()andsize()to provide the pointer range, and return early for empty input.Validated successfully with:
cmake --build .\_Build\windows --target kyty_emulator -j 4