-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Escaped characters in source #3683
Comments
I think that'd be fine. We already adopted UTF-8 to some extent as per 0b37b53. It'd be good if the PR message includes the methodology as this might be somewhat error prone. |
I agree with the idea of avoiding escapes unless necessary. Fwiw, there are some other situations where escapes can occasionally be useful, although i doubt there are many of those in the html spec:
(A lot of people seem to find the utility at https://r12a.github.io/app-conversion/ useful for converting to/from escapes. I was just wondering whether it would be useful to point to it or something similar for the benefit of people writing source code contributions.) |
The current source file has a large number of encoded entities. This makes it rather hard to edit and read. As UTF-8 is everywhere, is it time to replace these with their Unicode representation?
For example:
Becomes:
And
Could be changed to:
There is one obvious exception - invisible / non-printing characters.
Would you be interested in a pull request to transform all the
&#x...
references to decoded equivalent?This builds upon the HTML5.3 work done in w3c/html#1280
The text was updated successfully, but these errors were encountered: