apache / apache/jmeter

UTF8 instead of ISO-8859-1 by default for sampleresult.default.encoding

Open
#5,620 1 comment 0 reactions 0 assignees View on GitHub
need info os: All P2
Dominant language
Java
Stars
9.5k
Forks
2.3k
Avg merge
1d 22h
Merged PRs (30d)
5

Description

**Sebastian Boga** ([Bug 65834](https://bz.apache.org/bugzilla//show_bug.cgi?id=65834&redirect=false)):
When a browser get response from server through HTTP protocol, all chars are returned as UTF-8 encoded.

By default in jmeter.properties file, it is set for for sampleresult.default.encoding=ISO-8859-1

It would be better to have set the sampleresult.default.encoding=UTF-8 by default in jmeter.properties file to have HTTP Request behaving more closely to the browser.

Where do this have impact?
When using RegEx to extract some part from response, for cases where we have white spaces like   in HTML, we got some  character instead of space. We had to update manually jmeter.properties file in order to be able to extract the string we wanted.

Severity: normal
OS: All

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.