System.WideStrUtils.IsUTF8LeadByte

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function IsUTF8LeadByte(Lead: AnsiChar): boolean;

C++

extern DELPHI_PACKAGE bool __fastcall IsUTF8LeadByte(char Lead);

Properties

Type Visibility Source Unit Parent
function public
System.WideStrUtils.pas
System.WideStrUtils.hpp
System.WideStrUtils System.WideStrUtils

Description

Checks whether a character is a valid UTF-8 lead byte.

Call IsUTF8LeadByte to check whether a character is a valid UTF-8 lead byte.

All bytes between 0 .. 127 ($7F) and 194 ($C2) .. 253 ($FD) are valid UTF-8 lead bytes.

See Also