Comments (5)
专门用<?xml encoding="utf-8" ?>
解决过这个问题啊,你的主机不识别么。。 是阿里云?= =
你可以自己针对性的改下Action.php的104行看:
- @$dom->loadHTML($html);
+ @$dom->loadHTML(utf8_decode($html));
如果这个xml头无效的问题有普遍性,我回头再找找有没有更好的替代方法吧
from plugins.
是阿里云的虚拟主机,用你提供的修改方法还是不能正确显示中文了,我觉得我应该换服务器,而不是一味的请求修改了~
from plugins.
@YinHeng89 阿里云还是有点代表性的。。你再试试改下面这种方法:
@$dom->loadHTML(mb_convert_encoding($html, 'HTML-ENTITIES', 'UTF-8'));
如果可行我下个版本用它
from plugins.
加载页面失败,,我看看是不是我这边的问题
from plugins.
@YinHeng89 算了~ 忽然想到就算列表能用http源显示,zip包地址还是https。。这个没法替换,所以云主机还是不能用在线安装 - - 换主机商吧,ssl端口不开也算够抠搜的!
from plugins.
Related Issues (20)
- Sitemap插件无法生成多级分类链接 HOT 1
- Google搜索无法读取站点地图 HOT 4
- 启用插件报错500
- 投稿插件:Turnstile
- 1.2版typecho好用的富文本编辑器 HOT 1
- 投稿插件ChatgptWrite
- 投稿插件NewSmms
- 投稿插件WindsCkEditor HOT 2
- 投稿插件:TagSelector标签选择器插件 HOT 1
- 投稿插件:CSZSitemap
- typecho 使用links插件在新增链接时报错 HOT 4
- 未成功读取插件信息,请检查来源设置后重试。 HOT 2
- 插件 CommentPush
- 投稿插件:SiteMaintenance
- 又拍云插件不支持php8.2,可否兼容一下呀
- 投稿插件:Comment2PushDeer
- OssForTypecho 需要更新一下啦,PHP8.3 Typecho1.2.1环境用不了了
- 投稿插件:Gzh2typecho
- 投稿插件:CustomRSS
- 现在投稿插件还有人处理吗? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plugins.