[Overview][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'LazUTF8' (#lazutils)

UTF8ToUTF16

Converts the UTF-8 encoded string to UTF-16 encoding (system endian).

Declaration

Source position: lazutf8.pas line 213

function UTF8ToUTF16(

  const S: AnsiString

):UnicodeString; overload;

function UTF8ToUTF16(

  const P: PChar;

  ByteCnt: SizeUInt

):UnicodeString; overload;

Description

Converts the UTF-8 encoded string to UTF-16 encoding (system endian).


Version 3.2 Generated 2024-02-25 Home