mirror of
https://github.com/tribufu/node-gamedig
synced 2026-05-06 15:17:36 +00: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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue