[fpc-pascal] Unicode strings

Juha Manninen juha.manninen62 at gmail.com
Tue Dec 28 11:22:44 CET 2010


Hi

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
encoding.
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
XML*<http://www.philo.de/xml/>,
a free XML library for Delphi. As part of its XML handling, it has support
for converting between 70 different encodings."


Juha Manninen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20101228/4e26e6d6/attachment.html>


More information about the fpc-pascal mailing list