Skip to content

Enhancement: Set charset for all files to UTF-8 #620

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

Merged
merged 1 commit into from
Jul 18, 2022

Conversation

localheinz
Copy link
Contributor

This pull request

  • sets the charset for all files to UTF-8

Follows #554.

πŸ’β€β™‚οΈ I would not mind pulling up more attributes!

insert_final_newline = true

[*.yaml]
charset = utf-8
indent_size = 2
indent_style = space
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still using mixed indentation in PHP files, but could be easily fixed after merging #559 and enabling the indentation_type fixer.

@cmb69
Copy link
Member

cmb69 commented Jul 8, 2022

Hmm, are we sure that all files are UTF-8 encoded? What about binary files (e.g. some images)?

PS: well, binary files shouldn't be an issue.

@localheinz
Copy link
Contributor Author

@cmb69

Hmm, are we sure that all files are UTF-8 encoded? What about binary files (e.g. some images)?

I am not sure.

PS: well, binary files shouldn't be an issue.

πŸ‘

Copy link
Member

@cmb69 cmb69 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like most, if not all, files are already UTF-8 encoded, and any accidential changes should be caught when reviewing the commit, so let's merge this.

Thank you for the RP!

@cmb69 cmb69 merged commit 18576e3 into php:master Jul 18, 2022
@localheinz
Copy link
Contributor Author

Thank you, @cmb69!

@localheinz localheinz deleted the feature/utf-8 branch July 18, 2022 13:12
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