-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UnicodeEncodeError #48
Comments
Hello, I'm experiencing this too. I have added encoding utf-8 option too, but it doesn't work. The characters were \x84 and \x99. Thanks Edit: Didn't know I had to do it on the source code of HtmlTestRunner. The one I added encoding option to was the stream argument (which seems to be not what I expected) |
hello guyz, facing the same issue, where can i get the result.py(), i am unable to locate it in my machine |
where do you find the result.py()? |
@RoshanRajkumar1208 It's in HtmlTestRunner package (https://github.com/oldani/HtmlTestRunner/blob/master/HtmlTestRunner/result.py). Try to look at C:\Python39\Lib\site-packages or something like it, depends on how you installed Python and wich OS you use. |
Description
I was trying to get report generated and saved in my local folder, but I got this error
What I Did
What helped me get rid of this error was adding encoding='utf-8' in generate_file() in result.py on line 403
I'm very new to programming so I don't know if you need to do something with this or this is my local problem.
The text was updated successfully, but these errors were encountered: