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


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)

Screenshot 2020-09-24 113616.png (90.2 KB ) - added by xenaditya 4 years ago.

Download all attachments as: .zip

Change History (2)

by xenaditya, 4 years ago

comment:1 by Carlton Gibson, 4 years ago

Resolution: needsinfo
Status: newclosed

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 be django\test\ but that looks good to me locally.)


Note: See TracTickets for help on using tickets.
Back to Top