Merge pull request #436 from NuSkooler/cp437-unless-nix-explicit
Default to CP437 unless we explicitly detect a 'nix' terminal
This commit is contained in:
commit
0b9b08eded
|
@ -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