[fpc-devel] bug report 20473: Please add a directive to define string=utf8string

Marco van de Voort marcov at stack.nl
Thu Oct 13 13:19:25 CEST 2011


In our previous episode, Felipe Monteiro de Carvalho said:
> > Out of curiosity: how did you come to that conclusion? According to what I
> > read in rtl/inc/systemh.inc "PChar" is still defined as an "^Char" and
> > further down is also an alias "AnsiChar = Char", so "PChar" should still be
> > and behave the same?!
> 
> Delphi changed PChar to mean PWideChar, so I simply supposed that FPC
> will do the same. Or won't it?

I would say that pchar and char match whatever string is. So IMHO they
should change with $H too.




More information about the fpc-devel mailing list