{"id":13611399,"url":"https://github.com/whatwg/encoding","last_synced_at":"2026-01-30T13:19:38.020Z","repository":{"id":4620912,"uuid":"5764782","full_name":"whatwg/encoding","owner":"whatwg","description":"Encoding Standard","archived":false,"fork":false,"pushed_at":"2025-12-03T06:29:40.000Z","size":7241,"stargazers_count":311,"open_issues_count":22,"forks_count":85,"subscribers_count":55,"default_branch":"main","last_synced_at":"2025-12-06T07:49:51.041Z","etag":null,"topics":["encoding","standard","utf-8","whatwg"],"latest_commit_sha":null,"homepage":"https://encoding.spec.whatwg.org/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/whatwg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2012-09-11T12:46:02.000Z","updated_at":"2025-12-03T06:29:45.000Z","dependencies_parsed_at":"2024-01-19T10:15:47.681Z","dependency_job_id":"a1d9ebb3-fd10-4afa-a6b5-ab64eaaa4a92","html_url":"https://github.com/whatwg/encoding","commit_stats":{"total_commits":488,"total_committers":18,"mean_commits":27.11111111111111,"dds":0.5061475409836065,"last_synced_commit":"3721bec25c59f5506744dfeb8e3af7783e2f0f52"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/whatwg/encoding","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whatwg%2Fencoding","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whatwg%2Fencoding/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whatwg%2Fencoding/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whatwg%2Fencoding/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/whatwg","download_url":"https://codeload.github.com/whatwg/encoding/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whatwg%2Fencoding/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28913882,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T12:13:43.263Z","status":"ssl_error","status_checked_at":"2026-01-30T12:13:22.389Z","response_time":66,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["encoding","standard","utf-8","whatwg"],"created_at":"2024-08-01T19:01:54.910Z","updated_at":"2026-01-30T13:19:38.006Z","avatar_url":"https://github.com/whatwg.png","language":"HTML","readme":"This repository hosts the [Encoding Standard](https://encoding.spec.whatwg.org/).\n\n## Code of conduct\n\nWe are committed to providing a friendly, safe, and welcoming environment for all. Please read and respect the [Code of Conduct](https://whatwg.org/code-of-conduct).\n\n## Contribution opportunities\n\nFolks notice minor and larger issues with the Encoding Standard all the time and we'd love your help fixing those. Pull requests for typographical and grammar errors are also most welcome.\n\nIssues labeled [\"good first issue\"](https://github.com/whatwg/encoding/labels/good%20first%20issue) are a good place to get a taste for editing the Encoding Standard. Note that we don't assign issues and there's no reason to ask for availability either, just provide a pull request.\n\nIf you are thinking of suggesting a new feature, read through the [FAQ](https://whatwg.org/faq) and [Working Mode](https://whatwg.org/working-mode) documents to get yourself familiarized with the process.\n\nWe'd be happy to help you with all of this [on Chat](https://whatwg.org/chat).\n\n## Pull requests\n\nIn short, change `encoding.bs` and submit your patch, with a [good commit message](https://github.com/whatwg/meta/blob/main/COMMITTING.md).\n\nPlease add your name to the Acknowledgments section in your first pull request, even for trivial fixes. The names are sorted lexicographically.\n\nTo ensure your patch meets all the necessary requirements, please also see the [Contributor Guidelines](https://github.com/whatwg/meta/blob/main/CONTRIBUTING.md). Editors of the Encoding Standard are expected to follow the [Maintainer Guidelines](https://github.com/whatwg/meta/blob/main/MAINTAINERS.md).\n\n## Tests\n\nTests are an essential part of the standardization process and will need to be created or adjusted as changes to the standard are made. Tests for the Encoding Standard can be found in the `encoding/` directory of [`web-platform-tests/wpt`](https://github.com/web-platform-tests/wpt).\n\nA dashboard showing the tests running against browser engines can be seen at [wpt.fyi/results/encoding](https://wpt.fyi/results/encoding).\n\n## Building \"locally\"\n\nFor quick local iteration, run `make`; this will use a web service to build the standard, so that you don't have to install anything. See more in the [Contributor Guidelines](https://github.com/whatwg/meta/blob/main/CONTRIBUTING.md#building).\n\n## Formatting\n\nUse a column width of 100 characters.\n\nDo not use newlines inside \"inline\" elements, even if that means exceeding the column width requirement.\n```html\n\u003cp\u003eThe\n\u003cdfn method for=DOMTokenList lt=remove(tokens)|remove()\u003e\u003ccode\u003eremove(\u003cvar\u003etokens\u003c/var\u003e\u0026hellip;)\u003c/code\u003e\u003c/dfn\u003e\nmethod, when invoked, must run these steps:\n```\nis okay and\n  ```html\n\u003cp\u003eThe \u003cdfn method for=DOMTokenList\nlt=remove(tokens)|remove()\u003e\u003ccode\u003eremove(\u003cvar\u003etokens\u003c/var\u003e\u0026hellip;)\u003c/code\u003e\u003c/dfn\u003e method, when\ninvoked, must run these steps:\n```\nis not.\n\nUsing newlines between \"inline\" element tag names and their content is also forbidden. (This actually alters the content, by adding spaces.) That is\n```html\n\u003ca\u003etoken\u003c/a\u003e\n```\nis fine and\n```html\n\u003ca\u003etoken\n\u003c/a\u003e\n```\nis not.\n\nAn `\u003cli\u003e` element always has a `\u003cp\u003e` element inside it, unless it's a child of `\u003cul class=brief\u003e`.\n\nIf a \"block\" element contains a single \"block\" element, do not put it on a newline.\n\nDo not indent for anything except a new \"block\" element. For instance\n```html\n \u003cli\u003e\u003cp\u003eFor each \u003cvar\u003etoken\u003c/var\u003e in \u003cvar\u003etokens\u003c/var\u003e, in given order, that is not in\n \u003ca\u003etokens\u003c/a\u003e, append \u003cvar\u003etoken\u003c/var\u003e to \u003ca\u003etokens\u003c/a\u003e.\n```\nis not indented, but\n```html\n\u003col\u003e\n \u003cli\u003e\n  \u003cp\u003eFor each \u003cvar\u003etoken\u003c/var\u003e in \u003cvar\u003etokens\u003c/var\u003e, run these substeps:\n\n  \u003col\u003e\n   \u003cli\u003e\u003cp\u003eIf \u003cvar\u003etoken\u003c/var\u003e is the empty string, \u003ca\u003ethrow\u003c/a\u003e a {{SyntaxError}} exception.\n```\nis.\n\nEnd tags may be included (if done consistently) and attributes may be quoted (using double quotes), though the prevalent theme is to omit end tags and not quote attributes (unless they contain a space).\n\nPlace one newline between paragraphs (including list elements). Place three newlines before `\u003ch2\u003e`, and two newlines before other headings. This does not apply when a nested heading follows the parent heading.\n```html\n\u003cul\u003e\n \u003cli\u003e\u003cp\u003eDo not place a newline above.\n\n \u003cli\u003e\u003cp\u003ePlace a newline above.\n\u003c/ul\u003e\n\n\u003cp\u003ePlace a newline above.\n\n\n\u003ch3\u003ePlace two newlines above.\u003c/h3\u003e\n\n\u003ch4\u003ePlacing one newline is OK here.\u003c/h4\u003e\n\n\n\u003ch4\u003ePlace two newlines above.\u003c/h4\u003e\n```\nUse camel-case for variable names and \"spaced\" names for definitions, algorithms, etc.\n```html\n\u003cp\u003eA \u003ca for=/\u003erequest\u003c/a\u003e has an associated\n\u003cdfn export for=request id=concept-request-redirect-mode\u003eredirect mode\u003c/dfn\u003e,...\n```\n```html\n\u003cp\u003eLet \u003cvar\u003eredirectMode\u003c/var\u003e be \u003cvar\u003erequest\u003c/var\u003e's \u003ca for=request\u003eredirect mode\u003c/a\u003e.\n```\n","funding_links":[],"categories":["HTML"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhatwg%2Fencoding","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhatwg%2Fencoding","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhatwg%2Fencoding/lists"}