mirror of
https://github.com/gamedig/node-gamedig.git
synced 2024-11-17 17:25:19 +01:00
Allow encoding override by parameter (1.0.49)
This commit is contained in:
parent
8b3126e430
commit
68ee06ef11
2 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,7 @@ class Reader {
|
||||||
else options = args[0];
|
else options = args[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
options.encoding = options.encoding || this.query.encoding;
|
options.encoding = options.encoding || this.query.options.encoding || this.query.encoding;
|
||||||
if(options.encoding === 'latin1') options.encoding = 'win1252';
|
if(options.encoding === 'latin1') options.encoding = 'win1252';
|
||||||
|
|
||||||
const start = this.i+0;
|
const start = this.i+0;
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
],
|
],
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"author": "Michael Morrison",
|
"author": "Michael Morrison",
|
||||||
"version": "1.0.48",
|
"version": "1.0.49",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/sonicsnes/node-gamedig.git"
|
"url": "https://github.com/sonicsnes/node-gamedig.git"
|
||||||
|
|
Loading…
Reference in a new issue