I think I have same problem like this https://code.djangoproject.com/ticket/30324, and I checked another Django version 1.11 and 2.1. and It works well.
thank you Carlton PS: I tested on my Mac and I got this error message "UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 9735: illegal multibyte sequence" and It works as well with version 1.11 and 2.1 on Mac 2019년 4월 23일 화요일 오후 9시 57분 55초 UTC+9, Carlton Gibson 님의 말: > > > > On Tuesday, 23 April 2019 14:30:48 UTC+2, Carlton Gibson wrote: >> >> >> What IS the right way of setting the locale on Windows...? >> > > Not sure if it's the only way but, on Windows 10 you can tick a "Use > Unicode UTF-8 for worldwide language support", box in "Region & Language" - > "Administrative" - "Change system locale" - "Region Settings". > > This has a "beta" label next to it... > > After a reboot it adjusts `local.getpreferredencoding(False)` to > `cp65001`, which the internets tell me is UTF8, which is what you want I > think. > > C. > -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/07300625-f7af-49b6-99e9-8d930473507c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
