Message372463
If logdir is not None the exception handler in cgitb tries to save the description of an error in that directory using the locale encoding. It will fail if the description contains non-encodable characters.
We should either use corresponding error handlers (e.g. 'xmlcharrreplace' for html and 'backslashreplace' for text) for handling encoding errors or use the UTF-8 encoding. |
|
Date |
User |
Action |
Args |
2020-06-27 11:31:23 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, vinay.sajip, ethan.furman, Rhodri James |
2020-06-27 11:31:23 | serhiy.storchaka | set | messageid: <1593257483.85.0.980733000785.issue41140@roundup.psfhosted.org> |
2020-06-27 11:31:23 | serhiy.storchaka | link | issue41140 messages |
2020-06-27 11:31:23 | serhiy.storchaka | create | |
|