mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2026-02-25 05:48:56 +01:00
determine the length of a multi-byte character. The return values
are defined to be the same as those of POSIX' mblen: -1 =
invalid/incomplete sequence, 0 = #0, > 0 = length of sequence in
bytes.
+ default implementation for widestringmanager.codepointlengthproc
(assumes all code points have length 1) and Unix implementation
(based on mb(r)len); Windows implementation is still required
* replaced default implementation of
widestringmanager.CharLengthPCharProc with strlen() of the input
instead of an error (correct if all code points have length 1,
still needs Windows implementation)
+ implemented fpc_text_read_{wide,unicode}str() and
fpc_text_read_widechar() (mantis #18163); fpc_text_read_widechar()
uses the new widestringmanager.codepointlengthproc()
+ unicodestring support for readstr/writestr
* fixed declaration of fpc_Write_Text_UnicodeStr (unicodestring
instead of widestring parameter)
* extended test/twide*.pp tests to test the new/fixed functionality
git-svn-id: trunk@16533 -
|
||
|---|---|---|
| .. | ||
| wininc | ||
| crt.pp | ||
| dos.pp | ||
| dynlibs.inc | ||
| fpcmemdll.pp | ||
| fpwinsockh.inc | ||
| keyboard.pp | ||
| messages.pp | ||
| mouse.pp | ||
| printer.pp | ||
| sharemem.pp | ||
| sockets.pp | ||
| sysdir.inc | ||
| sysfile.inc | ||
| sysheap.inc | ||
| sysos.inc | ||
| sysosh.inc | ||
| systhrd.inc | ||
| sysutils.pp | ||
| syswin.inc | ||
| tthread.inc | ||
| varutils.pp | ||
| video.pp | ||
| winevent.pp | ||
| winres.inc | ||
| winsock2.pp | ||
| winsock.pp | ||