[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 221

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 4.0 Generated 2025-05-03 Home