Character Sets

Windows (except version 4.0) supports two character sets: Unicode™, a two-byte character set, and ANSI, a one-byte character set that is a strict subset of Unicode. In ANSI, n characters equals n bytes, but in Unicode, n characters equals 2n bytes. For more information about Unicode and character sets, see Unicode and Character Sets.