System.UTF8ToWideString

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

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