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

Retain the UTF8 BOM (Byte Order Mark) in case present in original code #1027

Merged

Conversation

paul-dingemans
Copy link
Collaborator

@paul-dingemans paul-dingemans commented Dec 20, 2020

Resolves #1013

@romtsn
Copy link
Collaborator

romtsn commented Dec 20, 2020

looks good, thanks 👍

@romtsn romtsn merged commit c893ac5 into pinterest:master Dec 20, 2020
@paul-dingemans paul-dingemans deleted the 1013-retain-utf8-bom-when-present branch January 10, 2021 10:30
romtsn pushed a commit to paul-dingemans/ktlint that referenced this pull request Mar 7, 2021
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.

If U+FEFF (BOM) is present, running formatter deletes all code in a file
2 participants