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