Jonas Maebe schrieb:

To get behaviour that is compatible with Delphi2009+, compile with -Mdelphiunicode or {$modeswitch delphiunicode}.

Do you mean {$mode delphiunicode}?

Now I wonder about compilation at all.
When I compile a console program on the commandline, most strings are readable in the console (see previous answer). But when I compile using Lazarus, all strings (including UnicodeString!) are shown in unreadable UTF-8 encoding, regardless of $mode :-(

What causes this difference, and how to make strings readable in a (Lazarus compiled) console application?

Forgot to mention: everything on WinXP.

DoDi

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to