Show: Delphi C++
Display Preferences

System.UTF8Decode

From XE2 API Documentation
Jump to: navigation, search

Delphi

function Utf8Decode(const S: RawByteString): WideString;

C++

extern 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

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

Personal tools
Previous Versions
Translations