Opened 4 years ago
Closed 4 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 , 4 years ago
Attachment: | Screenshot 2020-09-24 113616.png added |
---|
comment:1 by , 4 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.test
seem correctly encoded.Maybe an editor issue...?
To test, can you open the file, save again ensuring a utf-8 encoding and see if
git
picks up a difference?Very happy to take a PR correctly a badly encoded file, but we need to identify it clearly (
django.test
is a package, so the file would I guess bedjango\test\__init__.py
but that looks good to me locally.)Thanks!