[fpc-pascal] Unicode strings
juha.manninen62 at gmail.com
Tue Dec 28 11:22:44 CET 2010
What I have understood so far:
WideString uses UTF16 encoding. It is managed by Windows and so is not
reference counted by Delphi or FPC under Windows. However it is reference
counted by FPC on other platforms.
Then FPC has UnicodeString which is identical with WideString except that it
is always reference counted.
Delphi since v.2009 has UnicodeString as default. It also uses UTF16
Now there is a new branch for Delphi compatible unicode strings in FPC.
What is the difference between the current FPC's UnicodeString and Delphi's
UnicodeString? I am confused with all these string types and encodings.
What do you people say about Open XML: http://www.philo.de/xml/
While searching the net I found this:
"For handling other character encodings, you want to check out *Open
a free XML library for Delphi. As part of its XML handling, it has support
for converting between 70 different encodings."
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal