In our previous episode, Jonas Maebe said: > > On 28 Dec 2010, at 11:22, Juha Manninen wrote: > > > What is the difference between the current FPC's UnicodeString and > > Delphi's UnicodeString? I am confused with all these string types and > > encodings. > > Delphi's UnicodeString supports holding strings with arbitrary encodings > (not just UTF-16), along with transparent re-coding of strings when > assigning them to unicodestrings whose codepage has been statically > defined at compile time.
This is afaik not true, or ill formulated. The D2009+ unicodestring type is much like FPC 2.4's Unicode string or Kylix and older FPC's non COM Widestring (refcounted 2-byte type) , it is the ansistring type (1-byte type) that gets codepage support. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal