[Solved] Mapping Danish Characters æøå in config files - howto

  • Platform information:
    • Hardware: Raspberry Pi3
    • OS: OpenHabian 1.4.1

How do i map for example

sitemap hjarnoevej_993 label=“Hjarnoevej 993” {
Frame {
Group item=Bad
Group item=Bedroom
Group item=Entryway
Group item=Kitchen
Group item=Office
}

to

sitemap hjarnovej_993 label=“Hjarnøvej 993” {
Frame {
Group item=Bad
Group item=Soveværelse
Group item=Indgang
Group item=Køkken
Group item=Peter’s Værelse
}

thanks
Peter

Hmm… Dont think you can map these. I simply avoid using the, and use ae, oe and aa insted. It´s only the label in sitemap I have seen this problem. Labels in items works fine.


The only characters permitted in an Item name are letters, numbers and the underscore character. Names must not begin with numbers. Spaces and special characters are not permitted.

Yes items cant use these special caracters either. But I would never suspect them to anyway. Items labels works fine though.

Hi,

I got it working

I have æøå i editor on my PC

When i edit the sitemap file in vi editor i just copy/paste æø or å in - it looks strange in the file but works.

sitemap hjarnovej label=“HjarnÃvej 3” {
Frame {
Group item=Bath label=“Bade vÃrelse” icon=“bath.png”
Group item=Atelier
Group item=Kontor
Group item=Entre
Group item=Kitchen
Group item=Stue
Group item=Bryggers
Group item=Bedroom
Group item=Kontor
Group item=GuestHouse
}

/Peter