allure-framework / allure-framework/allure2
Encoding failure of the "ENVIRONMENT" section
- Dominant language
- HTML
- Stars
- 5.5k
- Forks
- 782
- Avg merge
- 2d 33m
- Merged PRs (30d)
- 16
Description
**Describe the bug**
before generateing report

after generating report

Russian words are displayed incorrectly after generatin report. The order of the key=value pairs not corresponds to the order in the file environment.properties
**To Reproduce**
1. create new file environment.properties with utf-8 encoding
2. fill some keys and values with russian words and save file

3. generate some test results and put environment.properties in the results folder

4. do generate report with command line: ...\bin\allure generate -c -o report-folder results-folder
5. open report with command line ...\bin\allure open report-folder
6. pay attention to the "ENVIRONMENT" section:

........6.1 pay attention to the **encoding** of russian words
........6.2 note the **order of values** in the "ENVIRONMENT" section
**Expected behavior**
6.1 russian words are displayed correctly
6.2 the order of the key=value pairs corresponds to the order in the file environment.properties
-----
| Allure version | 2.13.0 |
| --- | --- |
| Test framework | |
Contributor guide
Research direction
Reproduce the issue with a UTF-8 environment.properties containing Russian key/value pairs, then run the documented allure generate and allure open commands. Inspect the generated ENVIRONMENT section; done means the Russian text displays correctly and key=value pairs retain the file's order.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100