System.UTF8String

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

type UTF8String = AnsiString;

C++

typedef AnsiStringT<65001> UTF8String;

Properties

Type Visibility Source Unit Parent
type
typedef
public
System.pas
System.hpp
System System

Description

UTF8String represents UTF-8 encoded Unicode strings.

UTF8String represents a string encoded using UTF-8 (variable number of bytes Unicode). It is a AnsiStringBase type with a UTF-8 code page.

In Delphi, UTF8String is a true compiler type. The compiler does conversions between UnicodeString and UTF8String as necessary.

Note: UTF8String is used by the Delphi desktop compilers, but is not supported by the Delphi mobile compilers. For more information, see Migrating Delphi Code to Mobile from Desktop.

See Also

Code Examples