Share

AcString::is7Bit

C++

bool is7Bit() const;

Description

Checks whether all characters are in the range 0x01 through 0x7f.

Returns

true if all characters have their high bit (0x80) clear.

Remarks

Codes in 0x01 through 0x7f tend to have the same meaning across all encoding schemes (ansi code pages, utf-8, utf-16, etc.).

Empty string returns true.

Links

AcString

Previous Declaration

ACBASE_PORT bool is7Bit() const;

Was this information helpful?