Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: check if the file already starts with a UTF-8 BOM #8551

Merged
merged 5 commits into from
Oct 2, 2024

Conversation

beyondkmp
Copy link
Collaborator

@beyondkmp beyondkmp commented Oct 1, 2024

fix #8512

If the file is already in UTF-8 BOM format, there's no need to convert it again. If it's converted again, it will result in garbled characters.

Copy link

changeset-bot bot commented Oct 1, 2024

🦋 Changeset detected

Latest commit: 9142afa

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 8 packages
Name Type
app-builder-lib Patch
dmg-builder Patch
electron-builder-squirrel-windows Patch
electron-builder Patch
electron-forge-maker-appimage Patch
electron-forge-maker-nsis-web Patch
electron-forge-maker-nsis Patch
electron-forge-maker-snap Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

netlify bot commented Oct 1, 2024

Deploy Preview for car-park-attendant-cleat-11576 ready!

Name Link
🔨 Latest commit 9142afa
🔍 Latest deploy log https://app.netlify.com/sites/car-park-attendant-cleat-11576/deploys/66fc9082ff999d00081ccee5
😎 Deploy Preview https://deploy-preview-8551--car-park-attendant-cleat-11576.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@beyondkmp beyondkmp changed the title fix: Check if the file already starts with a UTF-8 BOM fix: check if the file already starts with a UTF-8 BOM Oct 1, 2024
@beyondkmp beyondkmp merged commit 57cebf4 into electron-userland:master Oct 2, 2024
13 checks passed
@github-actions github-actions bot mentioned this pull request Oct 2, 2024
xyloflake pushed a commit to xyloflake/electron-builder that referenced this pull request Oct 2, 2024
…land#8551)

fix electron-userland#8512

If the file is already in UTF-8 BOM format, there's no need to convert
it again. If it's converted again, it will result in garbled characters.

---------

Co-authored-by: beyondkmp <[email protected]>
@beyondkmp beyondkmp deleted the bom branch October 12, 2024 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The build process will change the encoding of the license.rtf file.
2 participants