System.UTF8ToWideString
Delphi
function UTF8ToWideString(const S: _RawByteStr): _WideStr; inline;
C++
extern DELPHI_PACKAGE WideString __fastcall UTF8ToWideString(const RawByteString S);
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | public | System.pas System.hpp |
System | System |
Description
Convertit une chaîne UTF-8 en une chaîne WideString.
Appelez UTF8ToWideString pour convertir une chaîne UTF-8 en Unicode. S est une chaîne RawByteString qui contient des caractères UTF-8. Le résultat de la fonction est la valeur WideString correspondante qui représente la chaîne dans Unicode.