跳到正文
原文
Hacker News · AI· Yigtwx·· 4 小时前AI 评分28

AI 智能体将 Shift_JIS 网页读取为 208,953 个替换字符

An AI agent read a Shift_JIS page as 208,953 replacement characters

AI 导读

AI 智能体因 link understanding 仅采用纯 UTF-8 解码,导致声明为 Shift_JIS 的网页被读取为 208,953 个替换字符乱码。openclaw 通过复用 web_fetch 解码器修复该问题,改为按 BOM、Content-Type 与 meta 等声明的字符集解码。修复后 Shift_JIS 页面已能在模型请求和回复中正确解析出 `阿部寛のホームページ`。

来源:Hacker News · AI · github.com