Chinese fonts in Windows

Source: Internet
Author: User

In the previous article, I talked about the Chinese font in Silverlight. Now I want to talk about the Chinese font in windows.

 

By default, if you have not installed any text processing software, such as a new font or an office, Windows provides the following fonts by default:

Windows 95/98/98SE,, _ gb2312, and _gb2312
Windows XP/2000/2003/ME/NT /,, _ gb2312, _ gb2312 (Windows XP SP3 --PUA)
Windows Vista/7/2008 /, simsun-extb

 

So what Chinese characters can be displayed in each font?

In Windows before Vista,/and support the GBK 1.0 character set,
_ Gb2312, Imitation Song _ gb2312 support GB2312-80 character set.
(Note: Windows 3.x only supports the GB2312-80 Character Set)

 

In Vista and later windows, /, supports the GB18030-2000 character set,
Simsun-extb supports only part B of the GB18030-2005 Character Set extension.

 

The following is a brief introduction to character sets:
GB2312-80 <GBK 1.0 <GB18030-2000 <GB18030-2005
The minimum number of characters in the GB2312-80 and the maximum number of GB18030-2005 characters.

GB2312-80 is the earliest version, with fewer characters;
The number of Chinese Characters in GBK 1.0 is roughly the same as that in Unicode 1.1;
The number of Chinese characters in the GB18030-2000 is roughly the same as the number of Chinese Characters in Unicode 3.0;
The number of Chinese characters in the GB18030-2005 is roughly the same as the number of Chinese Characters in Unicode 4.1, which mainly adds Part B;
Due to the release of Unicode 5.2, it is estimated that the new version of gb18030 will be released in the near future, and the C part will be added.
It should be noted that extending part B in gb18030 is not a mandatory standard.
If you want to view the standard text for gb18030, visit the strong mark reading in the http://www.gb168.cn.
To learn about Unicode, visit the http://www.unicode.org.

 

Correct a common error on the Internet:
The GB18030-2000 and GB18030-2005 do not support the single-byte euro symbol € (0x80), only the GBK 1.0 support, as can be learned from the standard original.

Test code

  //  GBKCodePage 936 (default)  
String Euro1 = Encoding. getencoding ( 936 ). Getstring ( New Byte [] { 0x80 });
// The code page of gb18030 is 54936.
// What is displayed in euro2?
String Euro2 = Encoding. getencoding ( 54936 ). Getstring ( New Byte [] { 0x80 });

 

The generation page related to simplified Chinese is as follows:
936 gb2312 Simplified Chinese (gb2312) ---- actually GBK
10008 X-Mac-chinesesimp Simplified Chinese (MAC)
20936 x-cp20936 Simplified Chinese (GB2312-80)
50227 x-cp50227 Simplified Chinese (ISO-2022)
51936 EUC-CN Simplified Chinese (EUC)
52936 hz-gb-2312 Simplified Chinese (HZ)
54936 gb18030 Simplified Chinese (gb18030)

 

This is my Unicode test URL. What can your system display?
Http://www.hongcing.com/tool/unicode (after entering the connection, you can click to download, may not be accessible in the morning, normal access in the afternoon, evening)

 

I just thought of it, but I forgot to write it.

After the _ _gb2312 and _gb2312 are used, the corresponding font may not be displayed in Windows 7/Vista/2008.

This is because in Windows 7, Vista, and 2008, there are two types of fonts, namely _ gb2312 and _ gb2312 by default. The font name is different from "_ gb2312 ".

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.