System.LocaleCharsFromUnicode

De RAD Studio API Documentation
Aller à : navigation, rechercher

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, System::PAnsiChar LocaleStr, int LocaleStrLen, System::PAnsiChar 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 .

Voir aussi