[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'System' (#rtl)

UTF8Decode

Convert a widestring to a UTF-8 encoded unicode string

Declaration

Source position: ustringh.inc line 103

function UTF8Decode(

  const s: UTF8String

):UnicodeString;

Description

UTF8Decode converts the widestring S to a UTF-8 encoded unicode string and returns the resulting string. It calls the low-level Utf8ToUnicode function to do the actual work.

For this function to work, a widestring manager must be installed.

See also

UTF8Encode

  

Convert a UTF-8 encoded unicode string to a widestring

Utf8ToAnsi

  

Convert a UTF-8 encoded unicode string to an ansistring

SetWideStringManager

  

Set the widestring manager

Utf8ToUnicode

  

Convert a buffer with UTF-8 characters to widestring characters

The latest version of this document can be found at lazarus-ccr.sourceforge.net.