I am working on a Perl script that needs to make some system calls to get some system data. To correctly parse the output of these calls on any computer, I must be sure that the output of the call is set to English.
The problem that I am facing is that, for example, on my PC, I get localized output from these commands. My Windows is configured in Spanish, therefore, how systeminfo returns data in Spanish.
Is there a command (or something else) that I can run in a command call to make all system calls, as if the system was always in English without changing anything in the system configuration?
Thanks in advance for your comments.
REWARDS NOTES: The answer to this problem should not in any way interfere with the system. This should be a way to get English answers from system calls / commands that work on any computer without changing its configuration, registry or others.
source share