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

michael.vancanneyt at wisa.be michael.vancanneyt at wisa.be
Thu Oct 13 11:45:22 CEST 2011



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

> On Thu, Oct 13, 2011 at 11:38 AM, Felipe Monteiro de Carvalho
> <felipemonteiro.carvalho at gmail.com> wrote:
>> On Thu, Oct 13, 2011 at 11:34 AM,  <michael.vancanneyt at wisa.be> wrote:
>>> 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 ?
>>
>> yes
>
> Actually I don't necessarely need a general case, just
> {$useutf8string} or whatever else only for utf-8 would be just as
> fine.

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...

Michael.


More information about the fpc-devel mailing list