Giter VIP home page Giter VIP logo

Comments (5)

jzwalk avatar jzwalk commented on June 3, 2024

专门用<?xml encoding="utf-8" ?>解决过这个问题啊,你的主机不识别么。。 是阿里云?= =
你可以自己针对性的改下Action.php的104行看:

- @$dom->loadHTML($html);
+ @$dom->loadHTML(utf8_decode($html));

如果这个xml头无效的问题有普遍性,我回头再找找有没有更好的替代方法吧

from plugins.

YinHeng89 avatar YinHeng89 commented on June 3, 2024

是阿里云的虚拟主机,用你提供的修改方法还是不能正确显示中文了,我觉得我应该换服务器,而不是一味的请求修改了~

from plugins.

jzwalk avatar jzwalk commented on June 3, 2024

@YinHeng89 阿里云还是有点代表性的。。你再试试改下面这种方法:
@$dom->loadHTML(mb_convert_encoding($html, 'HTML-ENTITIES', 'UTF-8'));
如果可行我下个版本用它

from plugins.

YinHeng89 avatar YinHeng89 commented on June 3, 2024

加载页面失败,,我看看是不是我这边的问题

from plugins.

jzwalk avatar jzwalk commented on June 3, 2024

@YinHeng89 算了~ 忽然想到就算列表能用http源显示,zip包地址还是https。。这个没法替换,所以云主机还是不能用在线安装 - - 换主机商吧,ssl端口不开也算够抠搜的!

from plugins.

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.