To define character-set and language information for a RIFF file, use the CSET chunk. The CSET chunk defines the code page and country, language, and dialect codes for the file. These values can be overridden for specific file elements; see Usage Codes for Extra Header and Extra Entry Fields for information on specifying character set information in a compound file.
The CSET chunk is defined as follows:
<CSET chunk> CSET(<usCodePage:USHORT> <usCountryCode:USHORT> <usLanguageCode:USHORT> <usDialect:USHORT> )
The fields are as follows:
Field
If the CSET chunk is not present, or if this field has value zero, assume USA (country code 001).
If the CSET chunk is not present, or if these fields have value zero, assume US English (language code 9, dialect code 1).