技能 2026-08-21 17:30 UTC
skills
由提交人 will-ness-ai 提交,主要更新类型为:常规更新与维护。提交说明:Declare UTF-8 in both HTML files (#19)。对项目做了常规维护与小幅调整。
Commit提交信息原文
Declare UTF-8 in both HTML files (#19) Neither file declared a charset. A published Artifact gets one from the wrapper, but SKILL.md step 4 also tells you to write the file to the scratchpad and `open` it, and a local file with no declaration is decoded by browser default rather than as UTF-8. Both files are full of characters that fails on: example.html alone carries 21 en dashes, 18 minus signs (U+2212), 13 em dashes, 10 middots, and the arrows and ellipses the diff gutter draws. Placed immediately before <title> in each, at byte 0 and byte 490 — both inside the 1024-byte window a charset declaration has to appear in.