[fpc-devel] WideString vs UnicodeString / len in char vs byte / *nix vs windows
Marco van de Voort
fpc at pascalprogramming.org
Thu Apr 25 18:57:50 CEST 2019
Op 2019-04-25 om 17:37 schreef Michael Van Canneyt:
>
>>> And apparently then on *nix, "widestring" is just an alias (to
>>> unicodestring).
>>> So using the type with the name of "widestring" on *nix will compile
>>> to a type that has length in chars?
>>>
>>> At least my test app, seems to imply this.
>> Correct. On non-Windows platforms WideString is always an alias to
>> UnicodeString. The distinctive WideString type only exists on Windows
>> platforms as it relies on Windows specific functionality.
>
> This is only about generated debug information, I suppose ?
I see you also picked up on this, I also picked it upĀ (on mantis) and
ran some tests and then filed https://bugs.freepascal.org/view.php?id=35444
More information about the fpc-devel
mailing list