Show: Object Pascal C++
Display Preferences

System.SysUtils.TMbcsByteType

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

TMbcsByteType = (mbSingleByte, mbLeadByte, mbTrailByte);

C++

enum DECLSPEC_DENUM TMbcsByteType : unsigned char { mbSingleByte, mbLeadByte, mbTrailByte };

Properties

Type Visibility Source Unit Parent
enum public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils System.SysUtils

Description

TMbcsByteType represents the use of a single byte in a string that uses a multi-byte character set (MBCS).

TMbcsByteType represents the possible return values of the ByteType and StrByteType functions. Possible values are as follows.



Values Meaning

mbSingleByte

The char is used to represent an entire character in the string. The value of Char cannot be included in the LeadBytes set.

mbLeadByte

The char is used to represent the first byte of a multi-byte character. The value of Char must be included in the LeadBytes set.

mbTrailByte

The char is used to represent one of the trailing bytes in a multi-byte character. There are no a priori restrictions on the value of char.



See Also

Personal tools
Translations