Sign in Join
FPDoc Onlineexperiment

UTF8Decode function

In unit System

Convert an UTF-8 encoded ansistring to a unicodestring.

Declaration

pascal
function UTF8Decode(const s: RawByteString): UnicodeString

Description

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

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.