System.WideStrUtils.HasUTF8BOM

De RAD Studio API Documentation
Aller à : navigation, rechercher

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 */;

Propriétés

Type Visibilité  Source Unité  Parent
function public
System.WideStrUtils.pas
System.WideStrUtils.hpp
System.WideStrUtils System.WideStrUtils

Description

Détecte si une chaîne ou un flux contient le BOM (byte-order mark) UTF-8.

Appelez HasUTF8BOM pour détecter si une chaîne ou un flux donné contient le BOM (byte-order mark).

Voir aussi