System.UTF8EncodeToShortString

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

function UTF8EncodeToShortString(const WS: _WideStr): _ShortStr;
function UTF8EncodeToShortString(const US: UnicodeString): _ShortStr;
function UTF8EncodeToShortString(const A: _RawByteStr): _ShortStr;

C++

extern DELPHI_PACKAGE ShortString __fastcall UTF8EncodeToShortString(const WideString WS)/* overload */;

Propriétés

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

Description

Convertit une chaîne en sa représentation UTF-8.

Appelez UTF8EncodeToShortString pour convertir une chaîne en sa représentation UTF-8. S est la chaîne à convertir. Le résultat de la fonction est la valeur de la chaîne ShortString UTF-8 correspondante.

Voir aussi