-
Notifications
You must be signed in to change notification settings - Fork 737
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
竟然不支持.txt文档在线预览? #4
Comments
你好。之前其实是实现了txt在线浏览的,但是后来发现,gbk编码或者其他一些txt在通过 |
噢,原来是转pdf的时候有问题,我没有转过。 |
我之前项目用的 |
不清楚这个问题是否解决。如果没有,考虑Mozilla Universal Charset Detector,应该算是比较标准的方式。 有些语言有专用的库来判断文本编码,大都是根据文本特征进行判断,返回最准确的编码。不过都是有误判。 |
目前已支持 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
看到这个提示:当前格式(txt)文档暂时不支持在线预览,请下载原文档对内容进行浏览。
复杂的实现了,最简单的却忘了。
The text was updated successfully, but these errors were encountered: