On 21 August 2012 14:13, Mattias Gaertner <nc-gaert...@netcologne.de> wrote: > One string type and native encoding. Do you mean the current AnsiString?
I meant a string type that changes it's encoding based on the platform it is compiled for. UTF-16 under Windows, UTF-8 under others. The RTL then uses that sinle string type throughout. The Char type would be defined as String[4] (max size in bytes of a unicode codepoint) > I guess you mean UTF-16/UTF-8 depending on platform. That would be > different character sizes, which means lots of IFDEFs in users code. Why? Can you give an example where IFDEF's would be required? -- Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel