部分_config.yml配置(我只改了这一部分,用记事本修改好像会出问题,就用了webstorm修改)
在localhost:4000上运行,标题和副标题都出现乱码
# Site
title: Hexo博客
subtitle: 新的开始
description: blog.fens.me
author: bsspirit
email: bsspirit@gmail.com
language: zh-CN
为什么设置了zh-CN还会乱码呢?
解决方案
1.不要用记事本打开,因为记事本不会utf8转码,用sublime text编辑。
2.或者用记事本打开另保存为utf-8编码