System.LocaleCharsFromUnicode

From RAD Studio API Documentation
Jump to: navigation, search

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 */;

Properties

Type Visibility Source Unit Parent
function public
System.pas
System.hpp
System System

Description

Maps a wide string to a new string.

LocaleCharsFromUnicode is a wrapper for the WideCharToMultiByte function.

See Also