CSS Chinese font Unicode encoding table, cssunicode

Source: Internet
Author: User

CSS Chinese font Unicode encoding table, cssunicode

Set the font name in CSS and write Chinese directly. But in the file encoding (GB2312, UTF-8, etc.) does not match will produce garbled error.

To avoid these errors, you can use Unicode encoding to write the font name in CSS. If you use Unicode to write Chinese font names, the browser can correctly parse them.

For example:

Font-family: "\ 5FAE \ 8F6F \ 96C5 \ 9ED1", indicating to set the font to "".

Unicode encoding for common Chinese Fonts
Font Name English name Unicode encoding
SimSun \ 5B8B \ 4F53
Xin NSimSun \ 65B0 \ 5B8B \ 4F53
Simhei SimHei \ 9ED1 \ 4F53
Microsoft YaHei \ 5FAE \ 8F6F \ 96C5 \ 9ED1
_ GB2312 KaiTi_GB2312 \ 6977 \ 4F53_GB2312
Shu LiSu \ 96B6 \ 4E66
Youyuan YouYuan \ 5E7C/5706
STXihei \ 534E \ 6587 \ 7EC6 \ 9ED1
Fine body MingLiU \ 7EC6 \ 660E \ 4F53
New body PMingLiU \ 65B0 \ 7EC6 \ 660E \ 4F53

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.