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 (7ドルF) and 194 ($C2) .. 253 ($FD) are valid UTF-8 lead bytes.

See Also

Retrieved from "https://docwiki.embarcadero.com/Libraries/Tokyo/e/index.php?title=System.WideStrUtils.IsUTF8LeadByte&oldid=143128"