[Lazarus] Garbage writing to console
Mattias Gaertner
nc-gaertnma at netcologne.de
Fri Feb 23 11:46:20 CET 2018
On Fri, 23 Feb 2018 11:18:55 +0100
Mattias Gaertner via Lazarus <lazarus at lists.lazarus-ide.org> wrote:
>[...]
> Write and Writeln are pure compiler magic.
> Apparently if the string is CP_ACP, it is passed unchanged to Output,
> ignoring the DefaultSystemCodepage variable.
I correct myself. ;)
My example of write(s) showed that CP_ACP string is converted to console
codepage.
Passing a string literal to writeln works differently. It is passed
unchanged to Output, ignoring the DefaultSystemCodepage variable.
Mattias
More information about the Lazarus
mailing list