I have a certain Perl program that I need to run on Windows 7 “Power Shell ISE” (since the regular MS Windows console does not support many Unicode fonts, and PS-ISE does, and I need to process Unicode files on Windows, using Perl).
When running a Perl program from the regular cmd console, you go, for example,
"Perl hello.pl";
the program runs, and if you print something, let’s say print "Hello world\n";
it gets printed in the cmd box.
How can I do it in PS-ISE? In PS-ISE, when I go: "Perl hello.pl"
it hangs. PS-ISE says: “Running script/selection. Press Ctrl+Break to stop”, but it doesn’t print “Hello world”.
(Next, I also need to accept input from STDIN).
Important note: it’s “Power shell ISE”, not: “Power Shell”.
As I elaborated in another answer already, the PowerShell ISE does not support interactive Windows console applications.
Note also, that the console settings (and in particular the fonts) are totally irrelevant when processing Unicode text. Displaying is another matter. But processing doesn’t sound like that to me.
Since you asked about Console in the mail, here it is, as a web search might have told you (and I thought I made my stance on personal mails originating from SO users clear).