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

UTF8Decode

Convert an UTF-8 encoded unicode string to a widestring

Declaration

Source position: ustringh.inc line 112

function UTF8Decode(

  const s: UTF8String

):UnicodeString;

Description

UTF8Decode converts the UTF-8 encoded unicode string S to a widestring 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 widestring to an UTF-8 encoded unicode string

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


Documentation generated on: Apr 14 2013