Strange! I got it working by:
SetTextCodePage(Output, 65001); // utf-8, so there should be no conversion on write
Write(UTF8ToCP850('äöüßÄÖÜ'));
---
If i query the codepage at the start of my prog by
it outputs 28591.
So it should have converted my strings automatically already, which was not the case!
Is this a bug?
---
EDIT: While this works on a console on Windows Server 2008 R2, it does not on Windows 10 (1803).
---
EDIT 2: For Windows 10 it's working with:
Write(UTF8ToISO_8859_1('äöüßÄÖÜ', True));
But this does not work on Windows Server 2008 R2!
---
EDIT 3: 2008 R2 also works with:
SetTextCodePage(Output, 850);
Write(UTF8ToIso_8859_1('äöüßÄÖÜ', True));