Michael Schnell <mschn...@lumino.de> hat am 13. Oktober 2011 um 10:18 geschrieben: > On 10/13/2011 04:27 AM, Hans-Peter Diettrich wrote: > > > > I don't see a speed penalty in using UTF-16. In contrast to UTF-8 it > > simplifies (and consequently speeds up) all string handling. > > If doing code heavily doing GUI handling (such as the LCL in Lazarus) > and the GUI's API is not UTF-16, all strings passing the API need to be > converted. This will slow down things a lot. That's non sense. Prove: some LCL backends work in UTF-16. Maybe you confused that with the IDE? The IDE does heavy string handling. In fact so much that many parts were replaced with PChar. > So quite obviously projects like the LCL need to use a "variable" Type > (either dynamic or static) throughout the complete code in some way. Mattias
_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel