System.UTF8EncodeToShortString

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

function UTF8EncodeToShortString(const WS: _WideStr): _ShortStr;
function UTF8EncodeToShortString(const US: UnicodeString): _ShortStr;
function UTF8EncodeToShortString(const A: _RawByteStr): _ShortStr;

C++

extern DELPHI_PACKAGE ShortString __fastcall UTF8EncodeToShortString(const WideString WS)/* overload */;

Properties

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

Description

Converts a string to its UTF-8 encoded representation.

Call UTF8EncodeToShortString to convert a string to its UTF-8 representation. S is the string to be converted. The result of the function is the corresponding UTF-8 encoded ShortString value.

See Also