Michael VAN CANNEYT
ccfa38c68e
* Dotted RTL compiles
2023-07-27 19:04:03 +02:00
Michael VAN CANNEYT
b83d4fae29
* CompareStrAnsiStringProc is not necessarily assigned
2023-07-24 15:38:09 +02:00
Michael VAN CANNEYT
2767a9c979
* Char -> AnsiChar
2023-07-14 17:26:10 +02:00
pierre
dfcb34aef2
* Ansi2UnicodeMove:
...
- Avoid calling Utf8ToUnicode with only three parameters,
as this is not reliable if the ansitring contains embedded #0 chars.
Use explicit high(SizeUInt) or allocated length explicitly.
- Change destLen type to SizeUInt.
* UpperAnsiString, LowerAnsiString:
Also avoid call to Utf8ToUnicode with only three parameters.
Change type of slen and ulen local variables to SizeUInt.
* CompareStrAnsiString:
Fix sign of return value if l2=0 (was returning negative value)
git-svn-id: trunk@38972 -
2018-05-11 12:12:37 +00:00
pierre
26cc97745a
Fix wrong starting index in CompareStrAnsiString function
...
git-svn-id: trunk@38963 -
2018-05-09 23:14:45 +00:00
nickysn
ab0b07e7c6
* fixed off by one error in fpwidestring.Unicode2AnsiMove, which caused an
...
extra #0 character to the appended to the result, when converting to UTF-8
git-svn-id: trunk@36498 -
2017-06-13 23:49:28 +00:00
nickysn
5e4937fd3f
* fallback to the default ansistring comparison (when doing ansistrings
...
comparisons), when fpwidestring is included, but no default collation has been
set
git-svn-id: trunk@36461 -
2017-06-08 23:49:51 +00:00
michael
f406d7cbef
* Fix bug #31947 : upgrade natve unicode implementation to version 9 and CLDR 30 (Patch from Inoussa)
...
git-svn-id: trunk@36407 -
2017-06-03 16:10:39 +00:00
pierre
7ff12e144f
Fix IgnoreCase error in CompareUnicodeString function
...
git-svn-id: trunk@34167 -
2016-07-22 05:29:35 +00:00
michael
fde42ca8ef
* Type helpers, compatible to Delphi XE 8
...
git-svn-id: trunk@32262 -
2015-11-07 09:40:54 +00:00
Tomas Hajny
09e6069024
* provide possibility of reusing the routine from system WideStringManager for retrieval of current codepage on non-Windows and non-Unix
...
git-svn-id: trunk@29623 -
2015-02-04 01:39:54 +00:00
Jonas Maebe
de56f909d5
* synchronized with trunk up to and including r25430
...
git-svn-id: branches/cpstrrtl@25431 -
2013-09-06 10:09:26 +00:00
paul
4ee7b4e7e2
rtl: code refactoring by Inoussa (mantis #0024898 )
...
git-svn-id: trunk@25320 -
2013-08-21 15:44:31 +00:00
paul
4c23d2281a
rtl: fpwidestring:
...
- retry to load currentMap if it is not assigned
- add more tests for fpwidestring manager
git-svn-id: trunk@25317 -
2013-08-21 06:56:26 +00:00
paul
e913ab1f9f
rtl: apply patch of Inoussa which drops unicode manager dependency on SysUtils (issue #0024887 )
...
git-svn-id: trunk@25312 -
2013-08-20 04:55:05 +00:00
paul
7ac3647ff2
rtl: apply patch of Inoussa with Incremental Implementation of the Unicode Collation Algorithm (mantis #0024873 )
...
git-svn-id: trunk@25296 -
2013-08-19 16:35:12 +00:00
Jonas Maebe
ecd3cba02b
* synchronised with trunk up to r24912
...
o resolved conflict in updated morphos sysutils unit
o moved code that had been added to the now deleted sysunix.inc to the
unix-specific block of the fpwidestring unit's init code
git-svn-id: branches/cpstrrtl@24913 -
2013-06-17 20:50:02 +00:00
paul
032b241c6b
rtl: fpwidestring - fix length of UnicodeStrings after UTF8ToUnicode. UTF8ToUnicode returns length + 1 for zero byte which is not needed for UnicodeString.
...
git-svn-id: trunk@23800 -
2013-03-12 03:14:22 +00:00
paul
23c9578137
rtl: setup DefaultSystemCodepage when fpwidestring is included on unixes
...
git-svn-id: trunk@23768 -
2013-03-10 06:42:50 +00:00
paul
7a0b112e56
rtl: add FPC Independent Unicode String Manager from Inoussa (mantis #0022909 )
...
git-svn-id: trunk@23730 -
2013-03-08 15:23:20 +00:00