System.UTF8String

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

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 Object Pascal, UTF8String is a true compiler type. The compiler does conversions between UnicodeString and UTF8String as necessary.

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

See Also

Code Examples