I use providers.xml for custom online maps. They work fine.
However, for the <mode> string I want to enter words with special characters (åäöÅÄÖ etc) for display in the maps selection interface.
I use the "<?xml version="1.0" encoding="UTF-8"?>" string in the first line for my xml file.
If I just write the mode strings without any explicit encoding, ("<mode>Björnbärstårta</mode>"), Lotus displays a garbage character where the special characters are supposed to be (like "Bj□rnb□rst□rta").
If I write them with UTF-8 encoding(?) like "<mode>Bj\xC3\xB6rnb\xC3\xA4rst\xC3\xA5rta</mode>", Lotus shows the encoded string as written with slashes and all. I am really unsure if this is how it is supposed to be done, I'm better at maps than strings.
How should I do it properly?
However, for the <mode> string I want to enter words with special characters (åäöÅÄÖ etc) for display in the maps selection interface.
I use the "<?xml version="1.0" encoding="UTF-8"?>" string in the first line for my xml file.
If I just write the mode strings without any explicit encoding, ("<mode>Björnbärstårta</mode>"), Lotus displays a garbage character where the special characters are supposed to be (like "Bj□rnb□rst□rta").
If I write them with UTF-8 encoding(?) like "<mode>Bj\xC3\xB6rnb\xC3\xA4rst\xC3\xA5rta</mode>", Lotus shows the encoded string as written with slashes and all. I am really unsure if this is how it is supposed to be done, I'm better at maps than strings.
How should I do it properly?