Skip to content

Commit

Permalink
Add WebSockets Standard
Browse files Browse the repository at this point in the history
See whatwg/meta#202.

Also fixes db.py to work on environments where the default encoding is not UTF-8, i.e., on Windows.
  • Loading branch information
domenic committed Nov 30, 2021
1 parent b00b7ae commit e25bcef
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
19 changes: 18 additions & 1 deletion db.json
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@
{
"name": "HTML",
"href": "https://html.spec.whatwg.org/multipage/",
"description": "The HTML Standard is a kitchen sink full of technologies for the web. It includes the core markup language for the web, HTML, as well as numerous APIs like Web Sockets, Web Workers, `localStorage`, etc.",
"description": "The HTML Standard is a kitchen sink full of technologies for the web. It includes the core markup language for the web, HTML, as well as numerous APIs like Web Workers, `localStorage`, etc.",
"authors": [
{
"name": "Anne van Kesteren",
Expand Down Expand Up @@ -239,6 +239,23 @@
7
],
"twitter": "htmlstandard"
},
{
"name": "WebSockets",
"href": "https://websockets.spec.whatwg.org/",
"description": "The WebSockets Standard provides APIs to enable web applications to maintain bidirectional communications with server-side processes.",
"authors": [
{
"name": "Adam Rice",
"email": "[email protected]"
}
],
"reference": "WEBSOCKETS",
"review_draft_schedule": [
3,
9
],
"twitter": "whatsockets"
}
]
},
Expand Down
2 changes: 1 addition & 1 deletion db.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def main():
if command not in ["validate", "normalize"]:
usage()
else:
input = open("db.json", "r").read()
input = open("db.json", "r", encoding="utf-8").read()
if command == "validate":
validate(input)
elif command == "normalize":
Expand Down

0 comments on commit e25bcef

Please sign in to comment.