System.UTF8Decode

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

function Utf8Decode(const S: _RawByteStr): _WideStr;

C++

extern DELPHI_PACKAGE 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

Warning: 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