[fpc-devel] UTF8 RTL
    Marco van de Voort 
    marcov at stack.nl
       
    Fri Nov 21 09:50:55 CET 2014
    
    
  
In our previous episode, Michael Schnell said:
> > Not old Delphi compatible. One can go new delphi compatible, and make 
> > everything 2-byte as much as possible.
> 
> Of course I did mean compatibility to "New" Delphi Strings.
> 
> But here (seemingly) TStrings (and with this TStringList) works on a 
> single pre-defined (2-Byte) encoding. And hence any other encoding (as 
> well 2 Byte as 1 Byte) needs time consuming conversions in and out.
Which other 2 byte encodings are you talking about?  Anyway the solution is
simple: don't do that, keep it utf16.
TStringlist is not for the performance sensitive in the first place. 
 
    
    
More information about the fpc-devel
mailing list