Gatling version: 3.13.1 (must be up to date)
Gatling flavor: [ X] java kotlin scala javascript typescript
Gatling build tool: [ X] maven gradle sbt bundle npm
I read the guidelines and how to ask a question topics.
I copied output I observe, and explain what I think should be.
Hello everyone,
I am encountering an issue where the simulation.log
file generated by Gatling is not encoded in UTF-8 as expected. From my understanding, Gatling’s default encoding is UTF-8, but for some reason, the output file seems to have a different encoding.
Here are the details of my setup:
- Gatling Version: [3.13.1]
- Java Version: [11.0.24]
- Operating System: [e.g., Windows/Linux]
- Configuration: The
gatling.conf
file has not been modified, so it should still be using the default encoding.
I’ve tried the following to troubleshoot:
- Checked the encoding of the
simulation.log
file using tools likefile
(on Linux) and found it’s not UTF-8. - Explicitly set
gatling.core.encoding = "UTF-8"
in thegatling.conf
file. - Ran Gatling with
-Dfile.encoding=UTF-8
as a JVM argument.
Despite these attempts, the issue persists. Has anyone else faced a similar problem or know what might be causing this? Could it be related to system locale settings or Java configuration?
Any advice or guidance would be greatly appreciated!
Thank you in advance.