Skip to content

UI: Fix utf-8 paths in shared updater components#9183

Merged
derrod merged 1 commit into
obsproject:masterfrom
derrod:fix-unicode-nonsense-frowning-emoji
Jul 2, 2023
Merged

UI: Fix utf-8 paths in shared updater components#9183
derrod merged 1 commit into
obsproject:masterfrom
derrod:fix-unicode-nonsense-frowning-emoji

Conversation

@derrod

@derrod derrod commented Jun 30, 2023

Copy link
Copy Markdown
Member

Description

Fixes reading/writing files with non-ASCII characters in their path in the shared code of the update framework.

Motivation and Context

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

How Has This Been Tested?

Compiled and ran on my machine. Still needs to be tested on an affected system.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • My code has been run through clang-format.
  • I have read the contributing document.
  • My code is not on the master branch.
  • The code has been tested.
  • All commit messages are properly formatted and commits squashed where appropriate.
  • I have included updates to all appropriate documentation.

@derrod derrod added the kind/bug Categorizes issue or PR as related to a bug. label Jun 30, 2023
@derrod
derrod force-pushed the fix-unicode-nonsense-frowning-emoji branch from 406e480 to e2cb843 Compare June 30, 2023 18:37
@derrod
derrod force-pushed the fix-unicode-nonsense-frowning-emoji branch from e2cb843 to 3e99c01 Compare June 30, 2023 18:43
@derrod derrod added the Seeking Testers Build artifacts on CI label Jun 30, 2023
@derrod

derrod commented Jul 2, 2023

Copy link
Copy Markdown
Member Author

Confirmed this fixes the update check for usernames (and thus user folders) with special characters on Windows.

@derrod
derrod merged commit 7773ea0 into obsproject:master Jul 2, 2023
@derrod
derrod deleted the fix-unicode-nonsense-frowning-emoji branch July 2, 2023 03:10
@SuslikV

SuslikV commented Jul 2, 2023

Copy link
Copy Markdown
Contributor

@derrod

derrod commented Jul 2, 2023

Copy link
Copy Markdown
Member Author

Correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/bug Categorizes issue or PR as related to a bug. Seeking Testers Build artifacts on CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants