Skip to content

Commit 7c46882

Browse files
committed
Correctly apply utf8 default
Adjust readme
1 parent b506301 commit 7c46882

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
[According to Valve's RCON specification](https://developer.valvesoftware.com/wiki/Source_RCON_Protocol)
33

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

77
```console
88
npm install rcon-srcds --save

src/rcon.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export class RCON {
2020
this.host = options.host || '127.0.0.1'
2121
this.port = options.port || 27015
2222
this.maxPacketSize = options.maxPacketSize || 4096
23-
this.encoding = options.encoding || 'ascii'
23+
this.encoding = options.encoding || 'utf8'
2424
this.timeout = options.timeout || 1000
2525

2626
this.authenticated = false

0 commit comments

Comments
 (0)