<div dir="ltr">Hi,<div><br></div><div style>Some comments...</div><div style><br></div><div class="gmail_extra"><div class="gmail_quote">2013/7/9 Marco van de Voort <span dir="ltr"><<a href="mailto:marcov@stack.nl" target="_blank">marcov@stack.nl</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">In our previous episode, Tomas Hajny said:<br>> There is code page 65001 for UTF-8, however I don't know since which<br>
> version of MS Windows it is supported (and to which extent - e.g.<br>
> including the console output).<br>
<br>
</div>Afaik Windows XP, but there might be font problems on console.<br>
<div class="im"><br></div></blockquote><div style>I have been testing with Windows 7.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
> console using the Windows API call SetConsoleOutputCP, but e.g. our unit<br>
> Crt currently resets the code page used for output to console to the<br>
> "main" process code page (as returned by GetACP) on each write and thus<br>
> ignores the user selection - this will probably change in trunk in the<br>
> future as part of the Unicode support activities, but the current state is<br>
> like this.<br>
<br>
</div>Keep in mind he is talking powershell, not cmd.exe<br>
<div class="HOEnZb"><div class="h5"></div></div></blockquote><div style><br></div><div style>I have tried in both. I tend to use PowerShell more often because I have this habit that goes like this:</div><div style><br></div>
<div style>cmd.exe</div><div style>>cd SourceCode</div><div style>>ls</div><div style>>Err: Command Not Found</div><div style>(Swear words)</div><div style>>dir</div><div style><br></div><div style>Using powershell saves me a little sanity since I am used to Unix Systems and I can't install Cygwin everywhere.</div>
<div style><br></div><div style>At any rate, I assume that since the console is a separate thing from the program running in it that powershell and cmd would be the same from the point of view of a program executed from them. Does powershell use a different console?</div>
<div style><br></div><div style> Thank you,</div><div style> Noah Silva</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">_______________________________________________<br>
fpc-pascal maillist - <a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a><br>
<a href="http://lists.freepascal.org/mailman/listinfo/fpc-pascal" target="_blank">http://lists.freepascal.org/mailman/listinfo/fpc-pascal</a><br>
</div></div></blockquote></div><br></div></div>