File "C:\Users\kasse\Desktop\test-django-unicorn\venv\lib\site-packages\django\core\management\base.py", line 330, in run_from_argv
self.execute(*args, **cmd_options)
File "C:\Users\kasse\Desktop\test-django-unicorn\venv\lib\site-packages\django\core\management\base.py", line 371, in execute
output = self.handle(*args, **options)
File "C:\Users\kasse\Desktop\test-django-unicorn\venv\lib\site-packages\django_unicorn\management\commands\startunicorn.py", line 59, in handle
template_path.write_text(TEMPLATE_FILE)
File "C:\Users\kasse\AppData\Local\Programs\Python\Python37\lib\pathlib.py", line 1219, in write_text
return f.write(data)
File "C:\Users\kasse\AppData\Local\Programs\Python\Python37\lib\encodings\cp1252.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\U0001f984' in position 20: character maps to <undefined>
The issue is related to utf-8 on Windows when running the command python manage.py startunicorn hello-world
The text was updated successfully, but these errors were encountered:
Yikes, this is because of the 🦄 in the standard template which I guess isn't handled the same on Windows as it is on OSX. I'm going to remove it since it was just a little silly thing I threw in there.
The issue is related to utf-8 on Windows when running the command
python manage.py startunicorn hello-world
The text was updated successfully, but these errors were encountered: