Skip to content

String-related fixes and improvements, part 1#7144

Merged
OBattler merged 6 commits into
86Box:masterfrom
lemondrops:no-wchar
May 17, 2026
Merged

String-related fixes and improvements, part 1#7144
OBattler merged 6 commits into
86Box:masterfrom
lemondrops:no-wchar

Conversation

@lemondrops

Copy link
Copy Markdown
Contributor

Summary

  • Fix MainWindow::getTitle() no longer returning what was intended to be returned
  • VNC: Don't rely on ui_window_title(), its return value is UI-dependent and may not be what is expected
  • Fix occasional doubled "PAUSED" text appearing in the toolbar
  • Complete the UTF-8 rewrite from 2021 by replacing most uses of wide strings with narrow ones, especially in the plat_ and ui_ APIs

Checklist

  • Closes #xxx
  • I have tested my changes locally and validated that the functionality works as intended
  • I have discussed this with core contributors already
  • This pull request requires changes to the ROM set
  • This pull request requires changes to the asset set

References

N/A

Its return value may be entirely different from expected depending on the UI
* Replace `wchar_t` with `char` in plat and UI APIs
* Clean up most remnants of wide strings
@OBattler OBattler merged commit 31a1d9c into 86Box:master May 17, 2026
45 checks passed
@lemondrops lemondrops deleted the no-wchar branch May 17, 2026 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants