<charset> (Character Set Supported By Font)

This element specifies the character set which is supported by the parent font. This information may be used as defined in font substitution logic to locate an appropriate substitute font when this font is not available. This information is determined by querying the font when present and shall not be modified when the font is not available.

The value of this element shall be interpreted as follows:

Value

Description

0x00

Specifies the ANSI character set.

0x01

Specifies the default character set.

0x02

Specifies the Symbol character set.

0x4D

Specifies a Macintosh (Standard Roman) character set.

0x80

Specifies the JIS character set.

0x81

Specifies the Hangul character set.

0x82

Specifies a Johab character set.

0x86

Specifies the GB-2312 character set.

0x88

Specifies the Chinese Big Five character set.

0xA1

Specifies a Greek character set.

0xA2

Specifies a Turkish character set.

0xA3

Specifies a Vietnamese character set.

0xB1

Specifies a Hebrew character set.

0xB2

Specifies an Arabic character set.

0xBA

Specifies a Baltic character set.

0xCC

Specifies a Russian character set.

0xDE

Specifies a Thai character set.

0xEE

Specifies an Eastern European character set.

0xFF

Specifies an OEM character set not defined by this Office Open XML Standard.

Any other value

Application-defined, may be ignored.

If this element is not present, then the character set for this font shall be assumed to be the ANSI character set.

example:
<w:font w:name="SimSun">
  <w:charset w:val="86" /></w:font>

The <charset> element specifies via its @val attribute value of 86 that this font uses the GB-2312 character set. ]

Parent Elements

<font>2.8.2.10)

Attributes

Description

<val> (Value)

Specifies a value specified as single octet (two digit) hexadecimal number whose contents are interpreted based on the context of the parent XML element.

<w:… w:val="BE"/>

This value is valid, as it contains two hexadecimal digits, an encoding of an octet of the actual decimal number value. ]

The possible values for this attribute are defined by the ST_UcharHexNumber simple type (§2.18.106).

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_UcharHexNumber">
	<attribute name="val" type="ST_UcharHexNumber" use="required"/>
</complexType>