Hi<br><br>What I have understood so far:<br><br>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.<br>
Then FPC has UnicodeString which is identical with WideString except that it is always reference counted.<br><br>Delphi since v.2009 has UnicodeString as default. It also uses UTF16 encoding.<br>Now there is a new branch for Delphi compatible unicode strings in FPC.<br>
<br>What is the difference between the current FPC's UnicodeString and Delphi's UnicodeString? I am confused with all these string types and encodings.<br><br><br>What do you people say about Open XML: <a href="http://www.philo.de/xml/">http://www.philo.de/xml/</a><br>
While searching the net I found this:<br><br>"For handling other character encodings, you want to check out <a href="http://www.philo.de/xml/" rel="nofollow"><strong>Open XML</strong></a>, a free XML library for Delphi. As part of its XML handling, it has support for converting between 70 different encodings."<br>
<br><br>Juha Manninen<br><br>