Afficher : Delphi
C++
Préférences d'affichage
System.Utf8ToAnsi
De XE2 API Documentation
Delphi
function Utf8ToAnsi(const S: RawByteString): string;
C++
extern PACKAGE UnicodeString __fastcall Utf8ToAnsi(const RawByteString S);
Propriétés
| Type | Visibilité | Source | Unité | Parent |
|---|---|---|---|---|
| function | public | System.pas System.hpp |
System | System |
Description
Convertit une chaîne UTF8 en une chaîne de caractères Ansi.
Appelez Utf8ToAnsi pour convertir une chaîne UTF-8 en Ansi. S est une chaîne encodée en UTF-8. La fonction Utf8ToAnsi renvoie la chaîne correspondante utilisant le jeu de caractères Ansi.