[fpc-devel] bug report 20473: Please add a directive to define string=utf8string
Sven Barth
pascaldragon at googlemail.com
Thu Oct 13 11:24:32 CEST 2011
Am 13.10.2011 11:02, schrieb Felipe Monteiro de Carvalho:
> On Thu, Oct 13, 2011 at 10:47 AM, Marco van de Voort<marcov at stack.nl> wrote:
>> But I don't consider this as solution. You have to put each string type in
>> the entire libraries on trial, and keep it up.
>
> Could you explain more? Which libraries are you talking about? As I
> showed, nothing would need to change in the RTL or FCL classes, they
> can use string as usual, or whatever else.
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 (and maybe "string
= ansistring" for DOS and OS/2). Thus those two libraries need to be
tested intensively that they can cope with that.
Regards,
Sven
More information about the fpc-devel
mailing list