On Fri, 23 Feb 2018 11:18:55 +0100
Mattias Gaertner via Lazarus <lazarus@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

-- 
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to