css - 为什么我的:before 在服务器上不能显示?
伊谢尔伦
伊谢尔伦 2017-04-17 12:01:54
0
4
871

table2 p:before{ content:"¥"; }

在服务器上显示乱码,后面的数字是后端传上去的

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all(4)
伊谢尔伦

The encoding is wrong. One character becomes two characters. It means that your server uses single-byte ASCII encoding. You need to change your encoding to utf-8 or gbk. utf-8 is currently more commonly used

黄舟

Common standard character sets: ASCII ISO GBK Unicode utf; ASCII is a 7-bit encoding character set, which is basically only applicable to English, 8-bit ISO supports most Latin languages, and 16-bit encoding GBK and Unicode fully support the Chinese language. UTF8 is an international encoding and its versatility is better. GBK is a national encoding and its versatility is worse than UTF8. However, UTF8 occupies a larger database than GBK

黄舟

Can I ask some normal questions

巴扎黑

Do you make font icons? The font file was not referenced successfully

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!