RAD Studio VCL Reference
SysUtils.LeadBytes Variable

Lists all values that can be the first byte of a double byte character on the local system.

LeadBytes: set of AnsiChar = [];
set of AnsiChar LeadBytes = [];

Use LeadBytes to test whether a value can represent the lead byte in a double byte character. If an individual value is in the LeadBytes set, it is not necessarily used as the lead byte of a double byte character. It may also appear as the second byte of a double byte character. To determine whether the character is used as a lead byte, use the global ByteType or StrByteType function.

Note: LeadBytes is always empty when running on a system with a locale that does not use a multi byte character system (MBCS).

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!