whatwg / whatwg/misc-server

Consider adding charset=utf-8 to CSS and SVG files?

Open
#91 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
27
Forks
17
PR merge metrics
No merged PRs in 30d

Description

Based on https://sonarwhal.com/scanner/82d0ae4e-aa8d-4b9b-9d32-24c1b0817136, we don't.

CSS inherits from the document, so this isn't really necessary except if people navigate to the CSS file directly.

For SVG I can't find a specification anywhere.

Maybe we should do JS, text, etc. while we're at it?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the linked SonarQube report and the server's response handling for CSS and SVG resources. Determine the applicable specifications and whether other text resources are in scope; done means the supported resource types and charset behavior are clearly decided and covered by the relevant checks.

Written by the indexing model from the issue text.

Assessment

Domain
infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.