Skip to content

Commit

Permalink
Correctly apply utf8 default
Browse files Browse the repository at this point in the history
Adjust readme
  • Loading branch information
nickdnk committed Mar 7, 2024
1 parent b506301 commit 7c46882
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[According to Valve's RCON specification](https://developer.valvesoftware.com/wiki/Source_RCON_Protocol)

## Install
This version of rcon-srcds is an ES6 module and requires Node 14+.
This version of rcon-srcds is an ES Module and requires Node 14+.

```console
npm install rcon-srcds --save
Expand Down
2 changes: 1 addition & 1 deletion src/rcon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export class RCON {
this.host = options.host || '127.0.0.1'
this.port = options.port || 27015
this.maxPacketSize = options.maxPacketSize || 4096
this.encoding = options.encoding || 'ascii'
this.encoding = options.encoding || 'utf8'
this.timeout = options.timeout || 1000

this.authenticated = false
Expand Down

0 comments on commit 7c46882

Please sign in to comment.