1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-13 12:05:21 +02:00

[204796] Bugfix for VT100TerminalControl#setEncoding()

This commit is contained in:
Martin Oberhuber 2008-06-10 00:46:10 +00:00
parent b5fa4bf7c1
commit c5e996cc79

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);