Norwegian characters in config crashes home assistant

My first entry.
I’m setting up my ligthing installtion in HASS and I want to name it Kjøkkenbenk with the norwegian letter ø. When I add it to my configuration.yaml file HASS won’t start.

Error message in log reads: ‘utf-8’ codec can’t decobe byte 0xe5 in position 1312.
As far as I know all Norwegian characters ÆØÅæøå are valid utf-8 characters.
Is there anything I can do to fix this?

Here’s the lines I added:

light:
  platform: limitlessled
  bridges:
    - host: xx.xx.xx.xx
      groups:
      - number: 1
        name: Kjøkkenbenk LED
        type: rgbww

Have you tried quotes?

I have now, both ’ and ". Thanks.
Unfortunately, same error.

I had the same issues with danish characters until I saved the config file with UTF-8 encoding.

1 Like

That was it!
So simple. Thanks!