Giter Club home page Giter Club logo

Comments (5)

TruthHun avatar TruthHun commented on May 19, 2024

你好。之前其实是实现了txt在线浏览的,但是后来发现,gbk编码或者其他一些txt在通过soffice转成PDF的时候,出现了乱码。txt的,会尽快想办法解决。如果你有什么好的解决办法,也可以提出来。也欢迎你加入我们的QQ交流群,QQ交流群:457803862(猿军团)

from dochub.

tansuo1989 avatar tansuo1989 commented on May 19, 2024

噢,原来是转pdf的时候有问题,我没有转过。
但,先把gbk转成utf-8,再转pdf也会有乱码的问题吗?

from dochub.

dancelion avatar dancelion commented on May 19, 2024

我之前项目用的Unoconv转换的pdf,目前没发现乱码的问题

from dochub.

hueidou avatar hueidou commented on May 19, 2024

不清楚这个问题是否解决。如果没有,考虑Mozilla Universal Charset Detector,应该算是比较标准的方式。

有些语言有专用的库来判断文本编码,大都是根据文本特征进行判断,返回最准确的编码。不过都是有误判。

from dochub.

TruthHun avatar TruthHun commented on May 19, 2024

目前已支持txt在线阅读

from dochub.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.