Open FabianBartl opened 2 years ago
logging.StreamHandler()
works:
2022-09-29 20:36:23,006 | DEBUG | (msg sent) bot-test - Fabian Bartl: '🪙'
logging.FileHandler()
raises the error:
UnicodeEncodeError: 'charmap' codec can't encode character '\U0001fa99' in position 74: character maps to <undefined>
Logfile extract:
->
UnicodeEncodeError: 'charmap' codec can't encode character '\U0001fa99' in position 74: character maps to <undefined>