On Wed, Sep 14, 2011 at 8:59 AM, <michael.vancann...@wisa.be> wrote: > No, why do you think so ?
Well, at the very least: 1> All var parameters from the RTL will no longer be directly usable with UTF-8 strings http://www.freepascal.org/docs-html/rtl/sysutils/appendstr.html How can I pass a UTF-8 string to AppendStr in the Unicode RTL? The Example62 from the docs will no longer compile =D 2> TStrings will be in a different encoding from the rest of the LCL, this will surely be very nasty. MyForm.Caption := MyStrings.Strings[9]; and you get an encoding conversion... Basically it will be a salad of automatic conversions done by the compiler... 3> FileOpen(MyForm.Caption, whatever_mode); You get first utf-8 -> utf-16 to call FileOpen and then FileOpen does utf-16->utf-8 on UNIXes -- Felipe Monteiro de Carvalho _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel