Opened 5 years ago
Closed 5 years ago
#32040 closed Bug (needsinfo)
django.test encoding does not match 'utf-8'
| Reported by: | xenaditya | Owned by: | nobody |
|---|---|---|---|
| Component: | Testing framework | Version: | 3.1 |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
I am using the latest version of Visual Studio 2019 on Windows 10.
I have attached the screenshot the error.
No other django. library has this issue. Only django.test gives me this error.
It says file is saved in encoding 'Western European(Windows)' which does not match encoding 'utf-8' .
Is there a way to resolve this problem?
Attachments (1)
Change History (2)
by , 5 years ago
| Attachment: | Screenshot 2020-09-24 113616.png added |
|---|
comment:1 by , 5 years ago
| Resolution: | → needsinfo |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

Hi. Thanks for the report.
I can't see an issue here. To double check, I just fetched the zip from GitHub and all the files in
django.testseem correctly encoded.Maybe an editor issue...?
To test, can you open the file, save again ensuring a utf-8 encoding and see if
gitpicks up a difference?Very happy to take a PR correctly a badly encoded file, but we need to identify it clearly (
django.testis a package, so the file would I guess bedjango\test\__init__.pybut that looks good to me locally.)Thanks!