Default to CP437 unless we explicitly detect a 'nix' terminal
This commit is contained in:
parent
d8bbabe289
commit
fc064605ab
|
@ -56,11 +56,10 @@ function ClientTerminal(output) {
|
|||
set: function (ttype) {
|
||||
termType = ttype.toLowerCase();
|
||||
|
||||
if (this.isANSI()) {
|
||||
this.outputEncoding = 'cp437';
|
||||
} else {
|
||||
// :TODO: See how x84 does this -- only set if local/remote are binary
|
||||
if (this.isNixTerm()) {
|
||||
this.outputEncoding = 'utf8';
|
||||
} else {
|
||||
this.outputEncoding = 'cp437';
|
||||
}
|
||||
|
||||
// :TODO: according to this: http://mud-dev.wikidot.com/article:telnet-client-identification
|
||||
|
|
Loading…
Reference in New Issue