问题:有个西藏的项目因使用藏文,而出现乱码
(一开始不乱的,不知道后台怎么处理...后来不知道为啥,前端乱码了)
解决:字体ttf 格式已下载,在项目中全局引入了
@font-face {font-family: 'sunshine';src: url("../fonts/sunshine.ttf");
}
* {margin: 0px;padding: 0px;
}
html, body {background: #fff;font-family: "Microsoft YaHei","宋体",'sunshine',"SimHei", "SimSun", \5B8B\4F53, Arial Narrow, arial, serif;color: #313131;font-size: 14px;font-weight: normal;width: 100%;min-width:1280px;height: 100%;
}