[fpc-devel] Trying to understand the wiki-Page "FPC Unicode support"
Hans-Peter Diettrich
DrDiettrich1 at aol.com
Thu Nov 27 16:48:56 CET 2014
Sven Barth schrieb:
> Just a little remark: please don't throw in WideString, which is a
> completely different type and only there for easy compatibility with COM
> and other Windows APIs.
I mentioned it for completness, and because (at least in Delphi) the
elements of an UnicodeString are WideChar.
> Unlike UnicodeString this type is not reference
> counted for example nor does it have the code page and element size
> information that a Ansi-/UnicodeString has.
This implementation detail is independent from the common payload encoding.
> (In FPC WideString is the same as UnicodeString for all non-Windows
> platforms)
sic!
DoDi
More information about the fpc-devel
mailing list