Add explicit file encoding to the java command to prevent errors like: "It seems the application is startd on a OS with non default UTF-8 encoding:Cp1252"

"
This commit is contained in:
Nanne Baars 2021-08-14 12:19:39 +02:00
parent 453a09e0b4
commit 9a37a27a3c
No known key found for this signature in database
GPG Key ID: A6D6C06FE4EC14E7

View File

@ -50,8 +50,8 @@ WebWolf will be located at: http://127.0.0.1:9090/WebWolf
Download the latest WebGoat and WebWolf release from [https://github.com/WebGoat/WebGoat/releases](https://github.com/WebGoat/WebGoat/releases)
```shell
java -jar webgoat-server-8.2.1.jar [--server.port=8080] [--server.address=localhost] [--hsqldb.port=9001]
java -jar webwolf-8.2.1.jar [--server.port=9090] [--server.address=localhost] [--hsqldb.port=9001]
java -Dfile.encoding=UTF-8 -jar webgoat-server-8.2.1.jar [--server.port=8080] [--server.address=localhost] [--hsqldb.port=9001]
java -Dfile.encoding=UTF-8 -jar webwolf-8.2.1.jar [--server.port=9090] [--server.address=localhost] [--hsqldb.port=9001]
```
WebGoat will be located at: http://127.0.0.1:8080/WebGoat and