Changes between Initial Version and Version 1 of Ticket #30184
- Timestamp:
- Feb 12, 2019, 4:48:37 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #30184 – Description
initial v1 1 1 By default, Windows terminals start with code page 437, which is roughly equivalent to ASCII. While working on #30178, I discovered that this causes the following traceback: 2 2 3 ``` 3 {{{ 4 4 (mplusmon) λ manage.py runserver 5 5 Watchman unavailable: pywatchman not installed. … … 20 20 return codecs.charmap_encode(input,self.errors,encoding_map)[0] 21 21 UnicodeEncodeError: 'charmap' codec can't encode character '\u2026' in position 24: character maps to <undefined> 22 ``` 22 }}} 23 23 24 The problem can be resolved by changingthe code page to UTF-8, as follows:24 A workaround is to change the code page to UTF-8, as follows: 25 25 26 ``` 26 {{{ 27 27 chcp 65001 28 ``` 28 }}} 29 29 30 This appears to be a new issue relative to Django 2.1.7, because the problem did not occur there. I'll track down wherever someone entered the horizontal elipsis character rather than "..." into the code, because this ought to be easy enough to fix. 30 This appears to be a new issue relative to Django 2.1.7, because the problem did not occur there. I'll track down wherever someone entered the horizontal elipsis character rather than "..." into the code, because this ought to be easy enough to fix. Whomever did this was probably not even aware of it and it has worked well enough since almost all Django developers will use MacOS or Linux.