-
Notifications
You must be signed in to change notification settings - Fork 85
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
关于文章里有非 utf-8 格式的字符时,搜索会卡住 #30
Comments
#8 |
Could you use english please? |
@MuYunyun 已发布新版,做了一些编码优化,试试升级到 2.2.0 看看问题是否已解决 cd YOUR_HEXO_PATH
npm install --upgrade --save hexo-generator-search |
Following the writer's advice -- change the xml format to json format, soved the problem. 👍 Howerver, do this, the package of hexo-generator-search is not usable. _config.yml
search:
path: search.json
field: post
format: html
limit: 10000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
用的是 hexo-next-theme 的主题,点击搜索时,一直在加载动画,bug 重现,以及 xml 文件,但是尽管它抛出了具体的行列,目前我锁定不了到底是哪里的字符是非 utf-8 格式,

ps: 是不是需要在哪里设置解析的格式为
utf-8
呢?求助The text was updated successfully, but these errors were encountered: