Repository navigation
Add draft text/wgsl media type registration. WGSL uses UTF-8 - #3542
Conversation
|
Previews, as seen when this build job started (48791e8): |
|
For next steps see #1682 (comment) |
|
|
||
| Optional parameters: None | ||
|
|
||
| Encoding considerations: binary |
There was a problem hiding this comment.
"binary" is used here. The other options are:
7bit: for 7bit text
8bit: for 8bit text separated by CR/LF. But UTF-8 doesn't fit that.
binary: all 8 bits in each octet must be preserved. text/javascript uses "binary"
framed: For framed binary data
|
|
||
| Magic number(s): None | ||
| File extension(s): .wgsl | ||
| Macintosh file type code(s): TEXT |
There was a problem hiding this comment.
For Macintosh file type, I copied what text/javascript has
I guess @litherum can advise
| Additional information: | ||
|
|
||
| Magic number(s): None | ||
| File extension(s): .wgsl |
There was a problem hiding this comment.
.wgsl ok with everyone?
|
If I may comment, I think the latest decision was to reflect the consensus about "...ignoring of BOM" (see #565 (comment)) with it, but I don't see it in the contents. Thanks. |
annevk
left a comment
There was a problem hiding this comment.
Looks good, thanks for fixing this!
Remove useless blanks Co-authored-by: Anne van Kesteren <[email protected]>
Remove useless blanks Co-authored-by: Anne van Kesteren <[email protected]>
Remove useless blanks Co-authored-by: Anne van Kesteren <[email protected]>
Remove useless blanks Co-authored-by: Anne van Kesteren <[email protected]>
Sorry I missed that. I had to educate myself about BOM. I found this:
WGSL falls into this case. |
Follow the recommendation of RFC3629, that when a text segement only uses UTF-8, then the byte order mark is forbidden.
mehmetoguzderin
left a comment
There was a problem hiding this comment.
Thank you very much for your consideration of spelling of BOM with this development!
|
Discussed in the 2022-10-25 meeting. There was no opposition. |
WGSL 2022-10-25 Minutes
|
Fixes: #1682 #565