Skip to content

fix(cli): use UTF-8 encoding for vswhere.exe output#8865

Merged
amrbashir merged 1 commit into
tauri-apps:devfrom
pewsheen:fix/cli/windows-buildtools-detect-utf8
Feb 15, 2024
Merged

fix(cli): use UTF-8 encoding for vswhere.exe output#8865
amrbashir merged 1 commit into
tauri-apps:devfrom
pewsheen:fix/cli/windows-buildtools-detect-utf8

Conversation

@pewsheen
Copy link
Copy Markdown
Contributor

  • The description property in the vswhere.exe output may contain non-UTF-8 encoding characters if the system language is set to CJK.
  • serde_json fails to parse the output due to the inability to escape those non-UTF-8 characters.
  • vswhere.exe provides an option to output with UTF-8 encoding and is recommended when outputting JSON.

@pewsheen pewsheen requested a review from a team as a code owner February 15, 2024 09:17
@amrbashir amrbashir merged commit 3cee26a into tauri-apps:dev Feb 15, 2024
@pewsheen pewsheen deleted the fix/cli/windows-buildtools-detect-utf8 branch February 15, 2024 15:17
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