#419·pinyin

dict-zi.ts 中注释汉字有误

作者: wvfan创建于 2026年1月16日更新于 2026年1月18日

在 src/data/dict-zi.ts 中,对于 4 位以上编码的 Unicode 注释有误(例如,0x28d39 应该是“字”,但注释是“费”)。应该是作者大大使用 String.fromCharCode 批量生成的注释,而 fromCharCode 只会取后 4 位。如果使用 ES6 的 String.fromCodePoint,则不会出现这个问题。