Merge branch 'akoshevoy/path_mappers'
[idea/community.git] / python / src / com / jetbrains / python / run / PythonCommandLineState.java
index c495485f5e7a5688eefd39637fcc4be346176801..b882e8084e8dd96313d9bb4f22737ab0d74ae40b 100644 (file)
@@ -189,7 +189,7 @@ public abstract class PythonCommandLineState extends CommandLineState {
       processHandler = createRemoteProcessStarter().startRemoteProcess(sdk, commandLine, myConfig.getProject(), pathMapper);
     }
     else {
-      EncodingEnvironmentUtil.fixDefaultEncodingIfMac(commandLine, myConfig.getProject());
+      EncodingEnvironmentUtil.setLocaleEnvironmentIfMac(commandLine);
       processHandler = doCreateProcess(commandLine);
       ProcessTerminatedListener.attach(processHandler);
     }