提交 4999f12d 编写于 作者: _Fighter's avatar _Fighter

8月8日

上级 39282413
......@@ -45,9 +45,10 @@ func determineEncoding(r io.Reader) encoding.Encoding {
if err != nil {
panic(err)
}
e, _, _ := charset.DetermineEncoding(
e, name, certain := charset.DetermineEncoding(
bytes,
"",
)
fmt.Printf(" name %s certain %s", name, certain)
return e
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册