mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-03 14:25:37 +02:00
Fix for bugzilla 138619. Windows code page problem.
This commit is contained in:
parent
af1afc9318
commit
19a6904752
1 changed files with 2 additions and 10 deletions
|
@ -257,16 +257,8 @@ public class LocalShellThread extends Thread
|
|||
}
|
||||
}
|
||||
|
||||
if (_encoding.equals("Cp1252") && !theOS.startsWith("Windows XP"))
|
||||
{
|
||||
_stdInput = new BufferedReader(new InputStreamReader(_theProcess.getInputStream(), "Cp850"));
|
||||
_stdError = new BufferedReader(new InputStreamReader(_theProcess.getErrorStream(), "Cp850"));
|
||||
}
|
||||
else
|
||||
{
|
||||
_stdInput = new BufferedReader(new InputStreamReader(_theProcess.getInputStream()));
|
||||
_stdError = new BufferedReader(new InputStreamReader(_theProcess.getErrorStream()));
|
||||
}
|
||||
_stdInput = new BufferedReader(new InputStreamReader(_theProcess.getInputStream()));
|
||||
_stdError = new BufferedReader(new InputStreamReader(_theProcess.getErrorStream()));
|
||||
|
||||
}
|
||||
catch (IOException e)
|
||||
|
|
Loading…
Add table
Reference in a new issue