Do not reset system locale to C when running the command. Fixes #4543.
Merge pull request #7394 from s0undt3ch/issues/4543

Do not reset system locale to C when running the command. Fixes #4543.