Share via


3.3.5.1.1 Japanese Identifiers

VBA support for identifiers containing Japanese characters is based upon Windows Codepage 932 [UNICODE-BESTFIT]. Japanese characters are encoded as both 8 bit single byte and 16 bit double byte characters with code points beginning at %x80. The Unicode equivalents of Windows Codepage 932 code points are specified by the file bestfit932.txt provided at [UNICODE-BESTFIT]. Many of the characters in the range %x80-FF are lead bytes that serve as the first byte of a 16 bit encoding of a code point. However, valid characters also occur within this range.

A <CP932-initial-character> can be any Unicode character that corresponds to a defined code page 932 character whose Windows Codepage 932 code point is greater than %x7F except for code points in the range %x80-FF that are lead bytes and except for the following code points that are explicitly excluded: %x8140, %x8143-8151,%x815E-8197,%x824f-8258.

A <CP932-subsequent-character> is defined identically to <CP932-initial-character> except that code points in the range are %x824f-8258 are not excluded.