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

chore(svg): Change XML declaration #69

Merged
merged 1 commit into from
Jul 13, 2024

Conversation

sorairolake
Copy link
Contributor

Set UTF-8 in the encoding declaration.

Currently, the encoding declaration is not required for UTF-8, but it may be required in the future.

In cases above which do not require reading the encoding declaration to determine the encoding, section 4.3.3 still requires that the encoding declaration, if present, be read and that the encoding name be checked to match the actual encoding of the entity. Also, it is possible that new character encodings will be invented that will make it necessary to use the encoding declaration to determine the encoding, in cases where this is not required at present.1

Footnotes

  1. https://www.w3.org/TR/2008/REC-xml-20081126/#sec-guessing-no-ext-info

Set `UTF-8` in the encoding declaration.
@kennytm kennytm merged commit 48acb57 into kennytm:master Jul 13, 2024
5 checks passed
@sorairolake sorairolake deleted the change-xml-declaration branch July 13, 2024 21:20
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