Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upText encoding of spec.html: ascii or utf-8? #1287
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
jmdyck
Aug 14, 2018
Collaborator
The U+2019 right single quotation mark on line 38018 should be a U+0027 apostrophe. Commit 64ab8cf in my "Misc editorial" PR fixes this.
So it's really just the U+2265 greater-than or equal to on line 7524. For option 2, this could be changed to ≥.
|
The U+2019 right single quotation mark on line 38018 should be a U+0027 apostrophe. Commit 64ab8cf in my "Misc editorial" PR fixes this. So it's really just the U+2265 greater-than or equal to on line 7524. For option 2, this could be changed to |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
annevk
Aug 14, 2018
Contributor
Note that <meta charset=ascii> isn't really conforming HTML anymore (and conforming implementations will treat it as if you wrote windows-1252). Only UTF-8 is allowed.
|
Note that |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
jmdyck
Aug 14, 2018
Collaborator
The 'rendering' process generates a file with <meta charset="utf-8">, so at least we're okay on that front.
|
The 'rendering' process generates a file with |
claudepache commentedAug 14, 2018
Currently, the file spec.html contains the declaration
which is contradicted by its contents, because it has two non-ascii, utf-8-encoded characters (namely
≥on line 7524 and’on line 38018).That makes my text editor complain each time I want to edit the spec, either:
or:
Two options:
Personally, I prefer option 1 (
≥is more readable, more writable (although I guess that may depend on your working environment), and I never recall the html entity for that character).