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];
|
||||
}
|
||||
|
||||
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';
|
||||
|
||||
const start = this.i+0;
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
],
|
||||
"main": "lib/index.js",
|
||||
"author": "Michael Morrison",
|
||||
"version": "1.0.48",
|
||||
"version": "1.0.49",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/sonicsnes/node-gamedig.git"
|
||||
|
|
Loading…
Reference in a new issue