System.LocaleCharsFromUnicode
Delphi
function LocaleCharsFromUnicode(CodePage, Flags: Cardinal;
UnicodeStr: PWideChar; UnicodeStrLen: Integer; LocaleStr: _PAnsiChr;
LocaleStrLen: Integer; DefaultChar: _PAnsiChr; UsedDefaultChar: PLongBool): Integer; overload;
C++
extern DELPHI_PACKAGE int __fastcall LocaleCharsFromUnicode(unsigned CodePage, unsigned Flags, WideChar * UnicodeStr, int UnicodeStrLen, char * LocaleStr, int LocaleStrLen, char * DefaultChar, PLongBool UsedDefaultChar)/* overload */;
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | public | System.pas System.hpp |
System | System |
Description
Mappe une chaîne étendue sur une nouvelle chaîne.
LocaleCharsFromUnicode est un wrapper pour la fonction WideCharToMultiByte .