System.UTF8EncodeToShortString

De RAD Studio API Documentation
Révision datée du 18 octobre 2011 à 19:21 par PyBot (discussion | contributions) (Scoping Libraries)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)
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 System::ShortString __fastcall UTF8EncodeToShortString(const System::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