On Thu, 13 Oct 2011, Felipe Monteiro de Carvalho wrote:

On Thu, Oct 13, 2011 at 11:24 AM, Sven Barth
<pascaldra...@googlemail.com> wrote:
I think he ment that if such a feature is introduced it would be a natural
conclusion to define "string = unicodestring" on Windows and "string =
utf8string" for Unix in the RTL and the FCL

? I am totally lost as to what this has to do with my proposal. My
proposal is to add a minimum facility to port UTF-8 based code which
makes heavy use of the "string" keyword. It says nothing about which
string the RTL should use.

In short, you want a directive to say

  "In this unit, 'string' means MyNiceStringType"

Which is in fact an extension of the current {$H} to a more general case ?

Michael.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to