diff --git a/db.json b/db.json index 699829c..c959fe0 100644 --- a/db.json +++ b/db.json @@ -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", @@ -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": "ricea@chromium.org" + } + ], + "reference": "WEBSOCKETS", + "review_draft_schedule": [ + 3, + 9 + ], + "twitter": "whatsockets" } ] }, diff --git a/db.py b/db.py index 1dbc8f5..9474607 100644 --- a/db.py +++ b/db.py @@ -15,7 +15,7 @@ def normalize_internal(input): return string + "\n" def normalize(input): - open("db.json", "w").write(normalize_internal(input)) + open("db.json", "w", encoding="utf-8").write(normalize_internal(input)) def normalize_db(db): for (name, normalize_algorithm, sort_key) in [ @@ -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":