System.UTF8Decode

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

end;
function Utf8Decode(const S: _RawByteStr): _WideStr;

C++

extern DELPHI_PACKAGE System::WideString __fastcall UTF8Decode _DEPRECATED_ATTRIBUTE1("Use UTF8ToWideString or UTF8ToString") (const RawByteString S);

Properties

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

Description

Attention: UTF8Decode is deprecated. Please use UTF8ToString.

Converts a UTF8 string to a Unicode string (WideString).

Call UTF8Decode to convert a UTF-8 string to Unicode. S is a string encoded in UTF-8. UTF8Decode returns the corresponding WideString value that represents the string in Unicode.

See Also