Sign in Join
Wiki copytemporary

Revision 1 of 2, by Jwdietrich on 6-6-2021. The page as it is now.

New in the 1.9.x rtl (not yet in the docs)

The following stuff is new in 1.9.x and is not yet in the docs:

The following routines are new in the 1.9.x rtl and aren't yet documented:

 function UnicodeToUtf8(Dest: PChar; Source: PWideChar; MaxBytes: SizeInt): SizeInt;
 function UnicodeToUtf8(Dest: PChar; MaxDestBytes: SizeUInt; Source: PWideChar; SourceChars: SizeUInt): SizeUInt;
 function Utf8ToUnicode(Dest: PWideChar; Source: PChar; MaxChars: SizeInt): SizeInt;
 function Utf8ToUnicode(Dest: PWideChar; MaxDestChars: SizeUInt; Source: PChar; SourceBytes: SizeUInt): SizeUInt;

See also Language related articles for compiler stuff not yet documented.

UPD: Now it documented in UTF-8 page.


From the Free Pascal wiki, page "New in the 1.9.x rtl (not yet in the docs)", as it stood on 2021-06-06 after a change by Jwdietrich, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.