Sign in Join
Wiki copytemporary

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

Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.

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

OldNewLine
1+The following stuff is new in 1.9.x and is not yet in the docs:
2+
3+- A lot of integer types are changed to SizeInt/SizeUInt to have common declarations for 32 and 64 Bit targets.
4+
5+The following routines are new in the 1.9.x rtl and aren't yet documented:
6+
7+` function UnicodeToUtf8(Dest: PChar; Source: PWideChar; MaxBytes: SizeInt): SizeInt;`\
8+` function UnicodeToUtf8(Dest: PChar; MaxDestBytes: SizeUInt; Source: PWideChar; SourceChars: SizeUInt): SizeUInt;`\
9+` function Utf8ToUnicode(Dest: PWideChar; Source: PChar; MaxChars: SizeInt): SizeInt;`\
10+` function Utf8ToUnicode(Dest: PWideChar; MaxDestChars: SizeUInt; Source: PChar; SourceBytes: SizeUInt): SizeUInt;`
11+
12+See also [[Language related articles]] for compiler stuff not yet documented.
13+
14+UPD: Now it documented in [[UTF-8]] page.
15+
16+---
17+*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](/wiki-contact).*
18+Category: FPC development
19+Category: Historical
20+Category: Outdated information

Back to history