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

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Thu Oct 13 11:49:39 CEST 2011


On Thu, Oct 13, 2011 at 11:45 AM,  <michael.vancanneyt at wisa.be> wrote:
> Well, if we add such a beast, it won't be just for UTF-8.
>
> Lazarus happens to be UTF-8 centric, but that doesn't mean we should limit
> the use of such a feature to UTF-8...

An addendum to that: We also need the normal PChar. Changing PChar was
*very* nasty.

So, the define would activate:

string = utf8string
PChar = PAnsiChar or PUTF8Byte or whatever which gives a byte array.

-- 
Felipe Monteiro de Carvalho



More information about the fpc-devel mailing list