1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-06 07:45:50 +02:00

Fix for bugzilla 138619. Windows code page problem.

This commit is contained in:
David Dykstal 2006-04-26 22:20:37 +00:00
parent af1afc9318
commit 19a6904752

View file

@ -257,16 +257,8 @@ public class LocalShellThread extends Thread
} }
} }
if (_encoding.equals("Cp1252") && !theOS.startsWith("Windows XP")) _stdInput = new BufferedReader(new InputStreamReader(_theProcess.getInputStream()));
{ _stdError = new BufferedReader(new InputStreamReader(_theProcess.getErrorStream()));
_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()));
}
} }
catch (IOException e) catch (IOException e)