Show: Delphi C++
Display Preferences

System.UTF8ToWideString

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function UTF8ToWideString(const S: _RawByteStr): _WideStr; inline;

C++

extern DELPHI_PACKAGE WideString __fastcall UTF8ToWideString(const RawByteString S);

Properties

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

Description

Converts a UTF-8 encoded string to a WideString.

Call UTF8ToWideString to convert a UTF-8 encoded string to Unicode. S is a RawByteString that contains UTF-8 encoded characters. The result of the function is the corresponding WideString value that represents the string in Unicode.

See Also

Personal tools
In Other Languages
Previous Versions
Assistance