Sign in Join
FPDoc Onlineexperiment

UTF8ToString function

In unit System

Convert UTF8 to Unicode String.

Declaration

pascal
function UTF8ToString(const s: RawByteString): UnicodeString

Description

UTF8ToString converts a UTF8 single byte string to a UTF16 encoded unicodestring. The source string S is interpreted as an array of UTF8 characters.

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