I set the Microsoft Yahei font for h1, [font-family: "Microsoft Yahei"]
When testing locally, it can be displayed normally on Sogou and Chrome. The F12 viewing style is as follows:
font-family: "\5FAE\8F6F\96C5\9ED1";
After the build, publish it to the server. It can be displayed normally on chrome. The F12 viewing style is as follows:
font-family: \5FAE\8F6F\96C5\9ED1; (missing double quotes)
Cannot be displayed on Sogou It displays normally, but the F12 viewing style is the same as chrome,
font-family: \5FAE\8F6F\96C5\9ED1;(double quotes are missing)
I don’t know if anyone has encountered this problem?
ringa_lee2017-05-19 10:25:48
You should use the English name of the font
For the reasons, please refer to http://www.zhangxinxu.com/wordpress/2017/03/css-font-family-chinese-english/