System.WideStrUtils.HasUTF8BOM

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

function HasUTF8BOM(S : TStream) : boolean; overload;
function HasUTF8BOM(const S: RawByteString) : boolean; overload;

C++

extern DELPHI_PACKAGE bool __fastcall HasUTF8BOM(System::Classes::TStream* S)/* overload */;

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
function public
System.WideStrUtils.pas
System.WideStrUtils.hpp
System.WideStrUtils System.WideStrUtils

Beschreibung

Ermittelt, ob ein String oder ein Stream das UTF-8-BOM (Byte Order Mark) enthält.

Mit HasUTF8BOM ermitteln Sie, ob ein gegebener String oder Stream das BOM enthält.

Siehe auch