1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-28 03:15:33 +02:00

[204796] Bugfix for VT100TerminalControl#setEncoding()

This commit is contained in:
Martin Oberhuber 2008-06-10 00:46:10 +00:00
parent 9c880167b3
commit 504ec845c8

View file

@ -152,7 +152,7 @@ public class VT100TerminalControl implements ITerminalControlForText, ITerminalC
// TODO or better use the local default encoding?
// encoding = defaultEncoding;
}
fInputStreamReader = new InputStreamReader(fInputStream, fEncoding);
fInputStreamReader = new InputStreamReader(fInputStream, encoding);
// remember encoding if above didn't throw an exception
fEncoding = encoding;
fTerminalText.setInputStreamReader(fInputStreamReader);