pytest-html icon indicating copy to clipboard operation
pytest-html copied to clipboard

Chinese do not display properly in the report(4.0.0rc0、3.2.0)

Open Abilish opened this issue 2 years ago • 7 comments

nodeid show Chinese code normal,but report to html is confused

pytesthtml3 2 pytesthtml4 0

Abilish avatar Mar 15 '23 03:03 Abilish

Now I'm using version 3.1.1 and it works.

Abilish avatar Mar 15 '23 03:03 Abilish

Now I'm using version 3.1.1 and it works.

Can you show an example of what you're expecting?

Also, provide me with an example test I can use to test 🙏

BeyondEvil avatar Mar 15 '23 12:03 BeyondEvil

Also, please share what OS, python version etc. you are on and using. 🙏

BeyondEvil avatar Mar 15 '23 12:03 BeyondEvil

Now I'm using version 3.1.1 and it works.

Can you show an example of what you're expecting?

Also, provide me with an example test I can use to test 🙏

Of course, this is what I want want

This is an example test, pytest_chinese.zip

I'm using Windows10, python3.7.3

Abilish avatar Mar 16 '23 03:03 Abilish

Now I'm using version 3.1.1 and it works.

Can you show an example of what you're expecting? Also, provide me with an example test I can use to test 🙏

Of course, this is what I want want

This is an example test, pytest_chinese.zip

I'm using Windows10, python3.7.3

I hope it can help you

Abilish avatar Mar 16 '23 03:03 Abilish

same as #595

NextAlone avatar Mar 25 '23 20:03 NextAlone

Please try 4.0.0rc1 🙇

BeyondEvil avatar Apr 03 '23 20:04 BeyondEvil