Revert "Don't set en_US.UTF-8 on Windows when setLocale is false"

This reverts commit dbdbbe5259.
This commit is contained in:
Daniel Imms
2018-10-16 15:14:45 -07:00
parent be7b3e4b2b
commit a1f0c4b5ee
4 changed files with 7 additions and 16 deletions

View File

@@ -403,7 +403,7 @@ export class ExtHostTerminalService implements ExtHostTerminalServiceShape {
// Continue env initialization, merging in the env from the launch
// config and adding keys that are needed to create the process
const locale = terminalConfig.get('setLocaleVariables') ? platform.locale : undefined;
terminalEnvironment.addTerminalEnvironmentKeys(env, platform.isWindows, locale);
terminalEnvironment.addTerminalEnvironmentKeys(env, locale);
// Fork the process and listen for messages
this._logService.debug(`Terminal process launching on ext host`, shellLaunchConfig, initialCwd, cols, rows, env);