On Thu, 30 Aug 2012 13:06:07 +0200 Kostas Michalopoulos <badsectorac...@gmail.com> wrote:
> I mean in Lazarus apps, i'm not sure about Lazarus itself (although i > would expect the GTK+ interface, for example, to do that). I do that > myself very often for example. There are some type casts strings to PChar. That would still work with UTF16 strings. gtk2 creates its own copies of "strings". Note: You have to check all places. And some needs adaption. But I doubt that much code needs to be changed. Mattias -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus