On Fri, September 16, 2011 12:38, Marco van de Voort wrote: > In our previous episode, Felipe Monteiro de Carvalho said: . . > In the UTF8 RTL, all "string"s _ARE_ utf8, unless specified otherwise (by > naming them unicodestring or ansistring(..encoding) or shortstrings). > > So the same virtual method with a STRING parameter will be TUnicodestring > in the UTF16 rtl and UTF8string in the utf8 RTL. . .
Sorry, one thing I'm missing in this point - where exactly is the indexed (SBCS codepage based) version in this if string always means either UnicodeString or UTF8String depending on the context / defines? Would there be no SBCS version any longer, or is this a third option, or what? Was your point about "string", or "RTLString"? Tomas _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel