Registration ERROR in HA

Good evening,
I have a permanent error the “logs” of HA

2021-12-22 00:21:08 ERROR (Recorder) [homeassistant.components.recorder.util] Error executing query: 'charmap' codec can't encode character '\ u03c6' in position 4: character maps to <undefined>

2021-12-22 00:21:08 ERROR (Recorder) [homeassistant.components.recorder] Error while processing event StatisticsTask (start = datetime.datetime (2021, 12, 21, 16, 50, tzinfo = datetime.timezone.utc )): 'charmap' codec can't encode character '\ u03c6' in position 4: character maps to <undefined>

Can anyone help me?
Thank you

I have the same issue at the moment. None of my history is being recorded correctly.

Did you get it sorted? If so what fixed it?

Incase you haven’t sorted this then I found the fix that worked for me in here Error homeassistant.components.recorder:'charmap' codec can't encode character - #5 by stratplayer
.
It was simply adding to the entry in configuration.yaml to specify the char codeset (no idea why after all this time it went wrong though).

Hello,
belated thank you
I missed your message
thanks again