[i18n-activity] [WoT Profile] Unclear character set constraints and non-UTF-8 html (#1664)

himorin has just created a new issue for https://github.com/w3c/i18n-activity:

== [WoT Profile] Unclear character set constraints and non-UTF-8 html ==
## Proposed comment

6.6 Links
https://www.w3.org/TR/2023/WD-wot-profile-20230118/#common-constraints-links

This section defines hypermedia links used in HTTP Profile, as sets of `href`, `type`, `rel`, `sizes`, and `hreflang`.
Constraint of `type` (media type) is
>mandatory, the supported set of media types is defined in [Media Types for Link Targets](https://www.w3.org/TR/2023/WD-wot-profile-20230118/#sec-link-relation-types) below.
and refers 6.6.2. Constraint of `rel` (link relation type) is 
> mandatory, the supported subset of relation types is described in [Link Relation Types](https://www.w3.org/TR/2023/WD-wot-profile-20230118/#sec-link-relation-types) below.
and refers 6.6.1.

1. In 6.6.1 Link Relation Types, constraint for one of relation type `service-doc` is written as
> human readable documentation, supported formats are Unicode Text, markdown, HTML and PDF.

This text is unclear on point of which format is specified as Unicode. (seems only `Text` should be by Unicode)
Three of four, text, markdown, and HTML shall be in Unicode.

2. In 6.6.2 Media Types for Link Targets, 9 IANA media types are listed in table: `text/plain`, `text/html`, `text/markdown`, `text/pdf`, `application/json`, `application/ld+json`, `application/octet-stream`, `image/jpeg`, and `image/png`. But only `text/plain` and `text/markdown` has constraint as `charset=UTF-8`, but not for others like `application/json`.

All non-binary formats shall have constraint of charset as UTF-8.


## Instructions: 

This follows the process at https://w3c.github.io/i18n-activity/guidelines/review-instructions.html

1. Create the review comment you want to propose by replacing the prompts above these instructions, but **LEAVE ALL THE INSTRUCTIONS INTACT** 

2. **Add one or more t:... labels. These should use ids from specdev establish a link to that doc.**

2. Set a label to identify the spec: this starts with s: followed by the spec's short name. If you are unable to do that, ask a W3C staff contact to help.

4. Ask the i18n WG to review your comment.

5. After discussion with the i18n WG, raise an issue in the repository of the WG that owns the spec. Use the text above these instructions as the starting point for that comment, but add any suggestions that arose from the i18n WG. In the other WG's repo, add an 'i18n-needs-resolution' label to the new issue. If you think any of the participants in layout requirements task force groups would be interested in following the discussion, add also the appropriate i18n-\*lreq label(s).

6. Delete the text below that says 'url_for_the_issue_raised', then add in its place the URL for the issue you raised in the other WG's repository. Do NOT remove the initial '§ '. Do NOT use \[...](...) notation – you need to delete the placeholder, then paste the URL.

7. Remove the 'pending' label, and add a 'needs-resolution' tag to this tracker issue. 

8. If you added an \*lreq label, add the label 'spec-type-issue', add the corresponding language label, and a label to indicate the relevant typographic feature(s), eg. 'i:line_breaking'. The latter represent categories related to the Language Enablement Index, and all start with i:.

9. Edit this issue to **REMOVE ALL THE INSTRUCTIONS & THE PROPOSED COMMENT**, ie. the line below that is '---' and all the text before it to the very start of the issue.

---


**This is a tracker issue.** Only discuss things here if they are i18n WG internal meta-discussions about the issue. **Contribute to the actual discussion at the following link:**


§ url_for_the_issue_raised


Please view or discuss this issue at https://github.com/w3c/i18n-activity/issues/1664 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 1 March 2023 15:18:18 UTC