You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When writing HTML reports using wily report --format HTML, UnicodeEncodeError can be raised from characters in user names (probably from message text too). I suppose the error coming from charmap means this is Windows only?
To Reproduce
Checkout wily's repo
wily build on wily's source
wily report --format HTML src\wily\commands\report.py loc
Errors with UnicodeEncodeError: 'charmap' codec can't encode character '\u0141' in position 5486: character maps to <undefined> due to the name Łukasz Skarżyński.
Expected behavior
wily should handle the error, preferably by using xmlcharrefreplace which just works for HTML content.
Desktop (please complete the following information):
OS: Windows
Version 1.24.2
I have a trivial fix, will submit PR.
The text was updated successfully, but these errors were encountered:
When writing HTML reports using
wily report --format HTML
, UnicodeEncodeError can be raised from characters in user names (probably from message text too). I suppose the error coming fromcharmap
means this is Windows only?To Reproduce
wily build
on wily's sourcewily report --format HTML src\wily\commands\report.py loc
UnicodeEncodeError: 'charmap' codec can't encode character '\u0141' in position 5486: character maps to <undefined>
due to the name Łukasz Skarżyński.Expected behavior
wily should handle the error, preferably by using
xmlcharrefreplace
which just works for HTML content.Desktop (please complete the following information):
I have a trivial fix, will submit PR.
The text was updated successfully, but these errors were encountered: