[fpc-pascal] Console Encoding in Windows (Local VS. UTF8)

Tomas Hajny XHajT03 at hajny.biz
Tue Jul 9 15:53:30 CEST 2013


On Tue, July 9, 2013 14:38, Marco van de Voort wrote:
> In our previous episode, Tomas Hajny said:
>> >> is
>> >> like this.
>> >
>> > Keep in mind he is talking powershell, not cmd.exe
>>
>> I have no experience with powershell yet, but as long as it uses a
>> console
>> window (albeit designed differently), the launched applications should
>> behave the same way, shouldn't they?
>
> Dos compatibility has waned somewhat. I would assume a new console type
> wouldn't be OEM.

True. However, this probably changes the default value of console output
CP, but whopefully should not change the principle.


> And probably even the 8-bit api would be a compatibility
> layer over the underlaying 16-bit api.

Isn't this already the case of the original console anyway?

Tomas





More information about the fpc-pascal mailing list