HGL
xenial-black
UnicodeEncodeError: 'charmap' codec can't encode character...
After updating Heroic from 2.6.2 to 2.7.0 I get this error on launch(see screenshot). After I close it everything seems to work but this error appears from time to time. Logout/relogin does not help.
The relevant part of that log, the very end:
If I run "legendary list" manually the list ends with
If I try to output it to file like this "legendary list >1.txt" it outputs the same error as above.
My OS language is Russian, cp1251 is the default codepage for it.
I downgraded Heroic to 2.6.2 and the problem was gone. Even though manually running legendary with output to file still produced that error, Heroic itself runs fine.
It appears that "Schnellfahrstrecke Köln-Aachen" with its letter "ö" is the problem here. \xf6 is that that letter's code in cp1252 codepage. I think Heroic changed some handling of codepages in the latest version which causes this error for me.

1 Reply
correct-apricot•3y ago
We aware of this issue. The error also occurs on older heroic versions but in 2.7.0 we just report the error to the frontend