On 2021-03-09 01:01, Graeme Geldenhuys via fpc-pascal wrote:
On 08/03/2021 2:49 pm, Michael Van Canneyt via fpc-pascal wrote:
In that sense, unicode conversion support is something optional and so we require you to enable it explicitly, since enabling it has some drawbacks:

Surely if you explicitly use the UnicodeString type, the compiler should know you are using UTF-16 (the default encoding of said type), so why not
include the required units implicitly. It doesn't make sense otherwise.

UnicodeString may be used in a program simply because the included unit has it used in its interface. That may be the case even if there's no use of characters outside of US ASCII at all.

Tomas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to